| From: | Pavlo Golub <pavlo(dot)golub(at)cybertec(dot)at> |
|---|---|
| To: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
| Cc: | pgsql-translators(at)postgresql(dot)org |
| Subject: | Re: API for babel.postgresql.org |
| Date: | 2018-12-12 18:29:13 |
| Message-ID: | c437e801-04cc-4c5a-a066-6c9f8c3e943f@email.android.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-translators |
<div dir='auto'><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 12, 2018 19:58, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)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 08/12/2018 08:42, Pavlo Golub wrote:
<br>
> Dumb and simple. List of languages, list of resources, links to .pot and
<br>
> .po files.
<br>
>
<br>
> Example:
<br>
> GET /resources
<br>
> GET /languages
<br>
> GET /psql.pot
<br>
> GET /pt_BR/postgres.po
<br>
<br>
You can already get the .po and .pot files.
<br></p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Well, yes. Manually. I meant to get list of resources and languages. Then go through lists and download files. Now I need parse html to get links.</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>
Adding a file with languages would be easy, but what exactly would it mean?
<br>
<br>
- all languages ever seen across any branch
<br>
- all languages in the current branch
<br>
- all languages for a catalog
<br>
- all languages qualified
<br>
- etc<br></p></blockquote></div></div></div><div dir="auto">Languages for current major version, I think, e.g. 10.x, 11.x, 9.6.x etc.</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>
I don't know what you mean by "resources".
<br>
</p></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">Resource is an application. Each .pot file corresponds to the resource. This term is from translators world. </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>
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/html | 2.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Дмитрий Воронин | 2018-12-19 15:54:28 | Localization tools for Postgres |
| Previous Message | Peter Eisentraut | 2018-12-12 17:58:41 | Re: API for babel.postgresql.org |