Hi Bob,
I haven't take care of the translations for quite some time...
For updating the .pot and .po files with the texts in the Java files, if
you already have gettext tools installed, you just have to set to true the
two variables you have found and commit at the end.
It may be better not to modify the build.xml file (so that other people
don't run the i18n part by default), but just add -Ddo.create.pot=true
-Ddo.create.po=true to the JVM options of build.xml (in the settings in
Eclipse)
Once the .pot and .po files are committed, they are automatically taken
into account by launchpad website every 6 hours.
For taking into account translations made by other people, you have to go
to launchpad and download the translations (either all of them, or just a
few if you know which ones have changed) from
https://translations.launchpad.net/jmol/trunk/+translations
You will receive a mail with the link to download the translations.
To include the new translations into Jmol, you then have a dedicated Ant
build file that you can run (you will probably need to set the paths using
-Dxxx arguments).
Once the files have been updated in the source, just run the usual
build.xml and commit.
Nico
On Mon, Mar 10, 2014 at 1:50 PM, Robert Hanson <hans...@stolaf.edu> wrote:
> I have changed my settings in build-i18n.xml to
>
> <property name="do.create.pot" value="true" />
> <property name="do.create.po" value="true" />
>
>
> and now running that added the translations to the POT file. Is that all
> that is necessary? Just check those in? (Just did that.)
>
> Nico, what do I do with the po.tstamp files? Just delete them? I see they
> are SVN-ignored.
>
> Bob
>
>
>
>
> On Mon, Mar 10, 2014 at 7:39 AM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>>
>> Looks to me like the system has broken down since January, and new terms
>> since then are not updated. Apparently only Nico can do this; my updates
>> haven't been adding new definitions to the POT file. Nico?
>>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers