I have the same problem. To make the game in 10 languages i have to upload to cocoonjs 10 times. This is time consuming if I do updates once in a while. I think the best solution is to have loaded at runtime a language file inside the project (from which to load specific words and sentences to specific text variables) -> compile to CocoonJS -> decompile the apk -> replace language file with localization language -> recompile, sign, zipalign and publish multiple apk's
Never tried but will do in the future.
Any other ideas ?
[EDIT:] the "Browser" plugins has "language" property which gets the browser language. not sure if it works on mobile
[2nd EDIT] just tested on CocoonJS launcher and I can confirm that it works. Changing language from Android Settings also display correct in cocoonjs launcher
This is the code I used:
<img src="https://dl.dropboxusercontent.com/u/139926126/Forums/scirra/language_test_cocoonjs.PNG" border="0" />