Hi to everyone:
I'm new to Firefox OS app development, and I come from Android development. I was wondering if there is a way to localize text of applications in a similar way as it is done in Android (one file for each language).
I was looking on internet, but I only found this:
https://developer.mozilla.org/en-US/docs/DOM/window.navigator.language
if ( window.navigator.language != "en" ) {
doLangSelect(window.navigator.language);
}
And I see it is quite easy. My question is, how the doLangSelect should be implemented? Is there an easy way in firefox OS apps? or a best practices?
Thanks for your help
Best Regards!
Aitor Mendaza