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

Dirk Stöcker openstreetmap at dstoecker.de
Fri Aug 8 08:44:56 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...

Ok. I now moved all locale deps into
src/org/openstreetmap/josm/tools/I18n.java

So if you want to change anything, you can modify this class to use 
another backend.

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




More information about the josm-dev mailing list