How do you localize an AEM PhoneGap App?

Avatar

Avatar

jona32350605

Avatar

jona32350605

jona32350605

15-10-2015

I am working on an AEM PhoneGap app that needs to be available in multiple languages. The user will be able to select the language from within the App. I started with the "Starter Kit" app on GIT, which creates an "English" set of content. I can't seem to find the documented way to create other language versions of the App, and have all of those language versions sync as part of a single Content Sync Package. Has anyone run across documentation for this? It is so easy to localize an AEM site, I feel like I must be missing something... Thanks!

View Entire Topic

Avatar

Avatar

Bruce_Lefebvre

Employee

Avatar

Bruce_Lefebvre

Employee

Bruce_Lefebvre
Employee

15-10-2015

I've added a 2nd locale to the kitchen-sink sample app. Check out the pull request to see what was included in the change [0].

Additionally, take a look at content-package-switcher.js to see how it was implemented [1].

Bruce

[0] https://github.com/blefebvre/aem-phonegap-kitchen-sink/pull/39

[1] https://github.com/blefebvre/aem-phonegap-kitchen-sink/blob/master/content/src/main/content/jcr_root...