[josm-dev] question about UI strings in plugins

Rolf Bode-Meyer robome at gmail.com
Sun Apr 18 13:57:44 BST 2010


2010/4/18 Mike N. <niceman at att.net>:
>> 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.

Oh, that's easy. I didn't find where to put the
translated/translatable strings, but if it's taken care of
automatically, that's great.

Thank you all!
Rolf




More information about the josm-dev mailing list