[josm-dev] Make josm use .mo files

Dirk Stöcker openstreetmap at dstoecker.de
Mon Dec 26 23:24:35 GMT 2011


On Mon, 26 Dec 2011, David Paleino wrote:

> it would be nice if JOSM used .mo files (installed
> as /usr/share/locale/<code>/LC_MESSAGES/josm.mo), instead of jar-embedded .lang
> files. Please read further.

We dropped gettext files as they are wasting a lot of space in the 
translation. The lang files only carry each string once and not multiple 
times like .mo does.

> What do you think about this?

Nothing, as it actually would be a step back. Thought as always Debian 
packagers can do what they want to do.

Most of the advantages you describe can be reached by simply renaming the 
lang files to .mo and install them in different locations. The only 
difference to mo is the file format (which does not matter, as most 
tools will not look into the files) and the fact that en.lang must remain 
in any situation.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)




More information about the josm-dev mailing list