Translate ox

Post here questions and problems related to editing and publishing DITA content.
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Translate ox

Post 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
stefan-jung.org – Your DITA/DITA-OT XML consultant
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

Re: Translate ox

Post 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
xephon
Posts: 140
Joined: Mon Nov 24, 2014 1:49 pm
Location: Greven/Germany

Re: Translate ox

Post by xephon »

Thank you, Alex
stefan-jung.org – Your DITA/DITA-OT XML consultant
alex_jitianu
Posts: 1008
Joined: Wed Nov 16, 2005 11:11 am

Re: Translate ox

Post 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
Post Reply