Page 1 of 1

Translate ox

Posted: Fri Mar 18, 2016 11:04 am
by xephon
It feels I have asked the question before, but I could not remember/find the answer:

This works:

Code: Select all

oxy_label(text, "${i18n(my.string)}", width, 150px, text-align, left)
This does not work:

Code: Select all

oxy_buttonGroup(label, '${i18n(my.string)}')
How can I translate the label of a oxy_buttonGroup? :shock:

Thanks

Re: Translate ox

Posted: Fri Mar 18, 2016 3:38 pm
by alex_jitianu
Hi,

Unfortunately, for a button group, the label property is not passed through translations. I'll add an issue and we'll fix it for version 18.

Best regards,
Alex

Re: Translate ox

Posted: Fri Mar 18, 2016 4:54 pm
by xephon
Thank you, Alex

Re: Translate ox

Posted: Fri May 06, 2016 11:00 am
by alex_jitianu
Hi,

In the newly released Oxygen 18 you will be able to use translated labels:

Code: Select all

oxy_label(text, "${i18n(my.string)}", width, 150px, text-align, left)
Best regards,
Alex