How do you localize an AEM PhoneGap App? | Community
Skip to main content
jona32350605
October 16, 2015
Solved

How do you localize an AEM PhoneGap App?

  • October 16, 2015
  • 2 replies
  • 1434 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by brucelef

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/etc/clientlibs/brucelefebvre/utility/content-package-switcher.js

2 replies

brucelefAdobe EmployeeAccepted solution
Adobe Employee
October 16, 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/etc/clientlibs/brucelefebvre/utility/content-package-switcher.js

gcarlino
Adobe Employee
Adobe Employee
October 16, 2015