[josm-dev] Translation of Plugins
Dirk Stöcker
openstreetmap at dstoecker.de
Fri Sep 5 19:19:25 UTC 2014
On Fri, 5 Sep 2014, Vincent Privat wrote:
> - checkin Github (we can access Github through SVN !):
Nice :-)
>> Which files? Po files are simple text. The lang files are direct binary
>> conversion of the po files (we use own .lang instead of standard .mo as the
>> results are much smaller which matters for a download tool).
>>
>> The gettext system is standard in open source software. We wont document
>> this.
One additional note: In old version of build.xml you'll find commandline
calls for gettext:
https://trac.openstreetmap.org/browser/subversion/applications/editors/josm/i18n/build.xml?rev=11529
This contains xgettext calls and msgmerge calls to create the .pot and .po
files. The call to i18n.pl replaces the standard gettext msgfmt call.
Thought as areaselector is in the default chain you only need to download
pot and po files from launchpad and create .lang.
Be warned again: Always update all .lang files together, no partial
updates possible (except en.lang remains unchanged)!
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list