How to change the content language of an application with Cordova from Portuguese to English?

0

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 ?

    
asked by anonymous 13.07.2016 / 14:37

1 answer

1

You can identify the language of the user of your application using Globalization Plugin

  

link

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)

    
20.08.2016 / 22:42