Page 1 of 1

Try to use $l10n_ in XML GUI

Posted: Sat May 01, 2021 8:02 pm
by Tunis
Hello,
I am working on a mod GUI and have set text in the XML to $l10n_some_text. But I get "missing 'some_text' in l10n_en.xml".
I can use onCreate and set it with lua: element:setText(g_i18n:getText('some_text'))

Is there something I missing I must do for it to work in GUI XML?