From: Pavlo Golub <pavlo.golub@cybertec.at>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-translators@postgresql.org
Subject: Re: API for babel.postgresql.org
Date: Sat, 08 Dec 2018 09:42:22 +0200
Message-ID: <73450841-93b9-4372-a879-e43d9b60c2a1@email.android.com> (raw)
In-Reply-To: <a1d6332b-49c7-d418-95b3-48b1fad068c2@2ndquadrant.com>
<div dir='auto'><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 8, 2018 09:19, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">On 05/12/2018 11:53, Pavlo Golub wrote:
<br>
> Greetings, Pgsql-translators.
<br>
>
<br>
> Is there any API for https://babel.postgresql.org/?
<br>
>
<br>
> Since .pot files are not part of the repository sources, neither
<br>
> .po files with translation ratio less then 80, I cannot use github
<br>
> integration.
<br>
>
<br>
> Thus I hope some API may help me a lot. Thanks in advance
<br>
<br>
What kind of functionality are you hoping such an API would provide?<br></p></blockquote></div></div></div><div dir="auto">Dumb and simple. List of languages, list of resources, links to .pot and .po files.</div><div dir="auto"><br></div><div dir="auto">Example:</div><div dir="auto">GET /resources</div><div dir="auto">GET /languages</div><div dir="auto">GET /psql.pot</div><div dir="auto">GET /pt_BR/postgres.po</div><div dir="auto"><br></div><div dir="auto">If it's complicated never mind. I can probably parse html then</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
<br>
--
<br>
Peter Eisentraut http://www.2ndQuadrant.com/
<br>
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
<br>
</p>
</blockquote></div><br></div></div></div>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-translators@postgresql.org
Cc: pavlo.golub@cybertec.at, peter.eisentraut@2ndquadrant.com
Subject: Re: API for babel.postgresql.org
In-Reply-To: <73450841-93b9-4372-a879-e43d9b60c2a1@email.android.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox