Re: managing translations

Arnaud Fontaine <[email protected]> Sun, 07 Dec 2008 02:28:49 +0100
Newsgroups gmane.comp.python.formencode
Organization Andesi
Message-ID <[email protected]>
>>>>> Ian Bicking <[email protected]> writes:

Hello,

    > So, I think there's some out-of-date things with translations, and
    > some patches to apply.   I don't know much about translations, but
    > here's a script I made to get the .pot file generated, and refresh
    > .mo files from the .po files.   Can someone tell me if this is the
    >  right way  to do  it? (I  also committed  it, as  yet  un-run, at
    > http://svn.colorstudy.com/FormEncode/trunk/regen-lang)

It seems fine AFAIK, but why not using a Makefile? IMHO it would be more
appropriate as it would easily allow to compile .mo file only if the .po
file has been updated. In addition,  maybe you could try to use msgmerge
which  allows  to  propagate  changes   from  .pot  file  to  .po  files
automatically. I can write a Makefile quickly for FormEncode if you want
to as I did it some days before for a university assignment...

Regards,
Arnaud Fontaine

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/