Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

Using Appery with i18n

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

Galyna Abramovych
Site Admin
Posts: 84
Joined: Tue Mar 22, 2016 6:03 pm

Using Appery with i18n

Hello Dennis,

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

Using Appery with i18n

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

Using Appery with i18n

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Using Appery with i18n

Hello,

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

Using Appery with i18n

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Using Appery with i18n

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.

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

Using Appery with i18n

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...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Using Appery with i18n

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

Dennis
Posts: 0
Joined: Tue May 05, 2015 1:29 pm

Using Appery with i18n

Got it working! Thanks

Return to “Issues”