Hi, Rolf Bode-Meyer wrote: > 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?
Simply add whatever you want in a tr() call. That serves as a hook for the i18n engine but of it remains untranslated then it will just display as-is. Make sure to use proper number formatting and the singular/plural stuff (trn()). Bye Frederik -- Frederik Ramm ## eMail [email protected] ## N49°00'09" E008°23'33" _______________________________________________ josm-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/josm-dev
