Page 1 of 1

Translate chekbox and more elements with i18next plugin

Posted: Tue Sep 15, 2015 1:08 am
by Fernando

Hi,

i wan't to translate my app and i need some help. I can now translate back button, header, lists... but i don't know how to translate a checkbox. What is that i need to put in "data-i18n-target" value?

Also i would like to know how can i translate a select component.

Thank you.
Best regards.


Translate chekbox and more elements with i18next plugin

Posted: Tue Sep 15, 2015 6:06 am
by Evgene Karachevtsev

Hello Fernando,

Could you please clarify have you seen this tutorial: https://devcenter.appery.io/tutorials... ?


Translate chekbox and more elements with i18next plugin

Posted: Tue Sep 15, 2015 6:57 pm
by Fernando

Yes, i have read it and other questions to solve list and back button in the header, but i don't know how to translate text in checkbox because data-i18n value doesn't work...


Translate chekbox and more elements with i18next plugin

Posted: Wed Sep 16, 2015 12:27 pm
by Serhii Kulibaba

Hello Fernando,

Please look this topic: https://getsatisfaction.com/apperyio/...


Translate chekbox and more elements with i18next plugin

Posted: Sun Sep 27, 2015 5:22 am
by Fernando

Ok, i fixed translate checkbox using javascript on page load (last post of topic).

Another question is how to translate collapsible set. I have tried various "i18n-target" options but it doesn't work... Can you help me, please?

Thank you.


Translate chekbox and more elements with i18next plugin

Posted: Fri Oct 02, 2015 6:55 am
by Serhii Kulibaba

1) Plese add label to the collapsible header and set it's class, e.g "myClass" : http://prntscr.com/8mt13o

2) Click "more properties" fo the mobilecollapsblockheader and set:
data-i18n=header
data-i18n-target=.myClass
http://prntscr.com/8mt1by