From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-translators@postgresql.org
Subject: how babel works
Date: Sun, 16 Jun 2019 23:00:19 +0200
Message-ID: <c0f98ae1-be1a-082b-d9f3-2ad7bf30f264@2ndquadrant.com> (raw)
Some people were interested in adding an "API" to the babel web site or
perhaps make other enhancements. I figured I would quickly share how
this all currently works, since it's fresh in my head too.
The scripts are in this git repository:
https://git.postgresql.org/gitweb/?p=pgtranslation/admin.git;a=summary
This should work:
git clone git://git.postgresql.org/git/pgtranslation/admin.git
cd admin
./wwwtools/update-nls-www -o $SOMEDIR
The output in $SOMEDIR is served on the web. That's it.
The babel host runs the above by cron twice an hour. Depending on the
amount of pending changes, it might take 10 or 20 minutes to finish. If
you run this at home from scratch, it might take an hour or more.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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: peter.eisentraut@2ndquadrant.com
Subject: Re: how babel works
In-Reply-To: <c0f98ae1-be1a-082b-d9f3-2ad7bf30f264@2ndquadrant.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