[josm-dev] question about UI strings in plugins

Mike N. niceman at att.net
Sun Apr 18 12:19:15 BST 2010


> I'm about to extend an existing plugin. Function wise it's no big
> deal, but I seem not to understand how UI strings are handled.
> There are "labels" with which to call tr(), but where can I put it new
> strings to be addressable by new labels?

  Just create new English strings in the tr() calls.   The new tr() strings 
will appear to everyone in English until they translate their own language. 
Use care when creating each string so that it won't need to be changed 
later - resulting in the translators needing to update the translations.
 





More information about the josm-dev mailing list