I am developing a mobile application with Phonegap and I need internationalization – display a html page in different languages. I do understand now that this is not a Phonegap issue – I have to internationalize the web application.
- Does any framework support internationalization (e.g. jQuery Mobile)?
- Is it possible to use a template approach, e.g. use property files and template and generate the HTML during the build process?`
- If I use the approach from Bourbon (see in the answers), how can I switch the language per option setting?
Kind regards, Christian
— Edit —
Phonegap has a nice Globalization plugin since 2.2.0. It covers a lot of the i18n functionality. Check the docs http://docs.phonegap.com/en/edge/cordova_globalization_globalization.md.html#Globalization
Phonegap is just a framework to be able to show web pages in an native-app, and using some plugin to connect with device’s hardware sensors. The support of internationalization will depend on your html/js design.
For exemple you can use :
And call the good page depending on the user’s language.
Hope this will help you 🙂