[josm-dev] i18n -- why not Locales & Bundles?

Dirk Stöcker openstreetmap at dstoecker.de
Wed Aug 6 07:16:09 BST 2008


On Tue, 5 Aug 2008, Jonathan Bennett wrote:

> Can anyone tell me why JOSM uses the xnap tools for i18n rather than the
> standard Java approach of Locales and StringBundles?
>
> My primary reason for asking is that I can't get JOSM to build under
> NetBeans -- the latest version of the xnap-commons library lacks the
> translation functions used.
>
> I'm willing to start hacking at the code to eliminate this dependency,
> but I want to check it won't be wasted effort first...

When I remember correctly, Java has no "original string" based 
translation method like gettext. Also the GNU gettext toolchain cannot 
applied. I did research in this area half a year ago for another project 
and although powerfull, the Java internal methods disqualified for a 
number of important reasons.

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




More information about the josm-dev mailing list