jeudi 19 juin 2014

Locale and dynamic multi language support

According to docs, the app.json only allows to define one locale.

Example:


What happens if I have a multiple language application and I want users to select dynamically their language?

How can I include more than one locale ?


And them, how can I dynamically load the locale with just changing an Ext variable ? Something like:



Code:



Ext.setLocale("es");

That will allow me to use the new package approach with dynamic multiple language selection, instead of including files manually.

Any idea ?


Thanks.





Aucun commentaire:

Enregistrer un commentaire