I have an application made in HTML, CSS and Javascript using Apache Cordova, it has support for English and Portuguese, but how do I change the contents of all pages of it when the person selects English or Portuguese in a settings page ?
I have an application made in HTML, CSS and Javascript using Apache Cordova, it has support for English and Portuguese, but how do I change the contents of all pages of it when the person selects English or Portuguese in a settings page ?
You can identify the language of the user of your application using Globalization Plugin
Once you have identified the language on your user's device, you either direct it to the right page according to the language it uses, or change the entire language of the application with javascript. (It's your choice)