Im using the i18next plugin to provide translation for my webapps ... I went throught he turtorial no problem mostly I get it .. except not sure how I can translate the placheholder values in my input fields .... any ideas ?
Thanks
DD
Im using the i18next plugin to provide translation for my webapps ... I went throught he turtorial no problem mostly I get it .. except not sure how I can translate the placheholder values in my input fields .... any ideas ?
Thanks
DD
Hello,
Using below link you could find example with placeholder
http://i18next.com/pages/sample.html
Hi Igor ..
I changed the marker for the input element and it renders as below .. the basic i18next javascript is running since it translates the header of the page fine ..... but it does not translate the placeholder of the input element ... here the placeholder attribute is there and empty since in the form, I left it blank in this case (i tried it with some text as well and same result) in my translate.json I have :
"input.username":"Nom d'usager"
HTML follows:
Thanks
DD
OK... the proble comes from the fact that in the translation.json file my variable wa named input.username ..... as soon as I changed it to inputusername it worked ....
OK... the problem comes from the fact that in the translation.json file my variable wa named input.username ..... as soon as I changed it to inputusername it worked ....
problem solved ![]()
Hello Simone, could you create translate.json and check it again?
Hello Sergiy,
thansk for the answer. Where should I put the translate.json file? Should I also include it somewhere in the app?
Thank you very much
Please look this tutorial: https://devcenter.appery.io/tutorials...