[josm-dev] Trouble translating JOSM: Same strings used in different places

Petr Nejedly Petr.Nejedly at Sun.COM
Sun Feb 22 19:57:07 GMT 2009


Ævar Arnfjörð Bjarmason napsal(a):
>     tr("EDIT_MENU_NAME")
> [...]
> The application would then be configured to never use the original
> tr() strings except in some debugging mode, always switching to en.po
> when you start it up.
> 
> Maybe this has already been implemented by some other application?

Sure, by every other java application out there. It is called
(java.util.)ResourceBundle

-- 
Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org
355/113 -- Not the famous irrational number PI, but an incredible simulation!




More information about the josm-dev mailing list