Page 1 of 1

Using Appery with i18n

Posted: Mon Dec 12, 2016 2:35 pm
by Dennis

Hi all
I am looking for the tutorials on how to do this, but they seem to be gone? All I can find is some blog posts.
Anybody got them?

Thanks Dennis


Using Appery with i18n

Posted: Mon Dec 12, 2016 7:24 pm
by Galyna Abramovych

Hello Dennis,

Have you checked this post of ours: https://blog.appery.io/2016/03/develo... ?
Also, this document can be helpful.


Using Appery with i18n

Posted: Mon Dec 12, 2016 9:50 pm
by Dennis

Thank you so much.
I going with your last mentioned guide, but having some problems with the app stalling when having $(document).i18n(); run on load.
I have a language selector on a open_panel. How am I able to save this selection for next time the user is opening the app?

Image
Image
Image
Image
Image
Image


Using Appery with i18n

Posted: Tue Dec 13, 2016 11:09 am
by Dennis

I'm still having some huge issues with this.
When using "load" for the JS, the app crashes. Using "Page show" I can see my alert from local storage of what language i'm choosing on my panel.

For testing, you can type in the following values: Speed - 10 and Volume - 50

https://appery.io/app/mobile-frame?sr...

Image
Image
Image


Using Appery with i18n

Posted: Wed Dec 14, 2016 9:51 pm
by Serhii Kulibaba

Hello,

Please set here your valid path to the translation.json
Image


Using Appery with i18n

Posted: Thu Dec 15, 2016 7:44 pm
by Dennis

I can't get it to work... My path is now as the guide: locales/lng/ns.json


Using Appery with i18n

Posted: Fri Dec 16, 2016 10:25 am
by Serhii Kulibaba

Please change it to your real path (this is just an example how it has to look like).
In you case: Image
It has to be: prelocales/en-GB/translation.json/pre for English
prelocales/de-DE/translation.json/pre for German, etc.


Using Appery with i18n

Posted: Fri Dec 16, 2016 11:38 am
by Dennis

This is still not working... You are not able to log into my app are you?
What should my label exactly say? is it correct what I have done here? https://d2r1vs3d9006ap.cloudfront.net...


Using Appery with i18n

Posted: Wed Dec 21, 2016 12:14 pm
by Illya Stepanov

Hello Dennis - let's continue this conversation via email in your ticket #25373, if you don't mind.


Using Appery with i18n

Posted: Wed Dec 21, 2016 12:21 pm
by Dennis

Got it working! Thanks