[bt-devel] Updating PO files of translations

Fred Saalbach bt-devel@crosswire.org
Sun, 27 Jan 2002 20:56:31 -0500


Joachim

I will try out you new make scripts this week.

Fred




Joachim Ansorg wrote:
> 
> Hi Fred!
> 
> I spend some time to add some functionality to the Makefiles which helps you
> to update the po files automatically so old translations are not lost.
> 
> The command "make po-files" in a directory like "de/handbook/" updates the po
> files in de/handbook/po/ using the POT template in en/handbook/pot/.
> On my side this works. I hope this helps you working on the files. You spent
> so much time on the docbook files so I like to help you.
> 
> Since the directory en/ has no .po translation files but .pot templates
> running "make pot-files" in a dir like en/handbook/ updates the .pot files in
> en/handbook/pot/. I hope this is useful.
> 
> I also added "make html-files" which generated the HTML files using meinproc.
> 
> So, if you update the .docbook files in en/handbook/unicode/ you have to run
> now only the following commands in en/handbook/ to update the other files:
>         make pot-files
>         make html-files
> 
> If the translators get their files to translate them I run
>         make po-files
> 
> and after I got the po files back I run
>         make unicode-files
>         make html-files
> 
> to create the new docbook and html files.
> 
> Please let me know if something doesn't work as expected! I hope it's useful
> for you,
> 
> Joachim