pg.ddx.io  pgsql-translators@postgresql.org mailing list archive  
help / color / mirror / Atom feed
how babel works
2+ messages / 2 participants
[nested] [flat]

* how babel works
@ 2019-06-16 21:00  Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Peter Eisentraut @ 2019-06-16 21:00 UTC (permalink / raw)
  To: pgsql-translators

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: how babel works
@ 2019-06-27 11:00  Pavlo Golub <pavlo.golub@gmail.com>
  parent: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Pavlo Golub @ 2019-06-27 11:00 UTC (permalink / raw)
  To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>; pgsql-translators

Hello Peter,

Monday, June 17, 2019, 12:00:19 AM, you wrote:

> 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.


Great! Thanks a lot for info!

-- 
Best regards,
Pavlo Golub






^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-06-27 11:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-06-16 21:00 how babel works Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
2019-06-27 11:00 ` Pavlo Golub <pavlo.golub@gmail.com>

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