Expand my Community achievements bar.

SOLVED

How do you localize an AEM PhoneGap App?

Avatar

Level 1

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!

1 Accepted Solution

Avatar

Correct answer by
Employee

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

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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