Hello everyone, I'm developing an app and would like to know how to find which language the user is using on your smartphone, could someone help me? (something like a getLocale)thanks in advance.GG.
Gustavo Gonçalves wrote:
Check this and this
Pedro Costa wrote:
Hello Pedro, thank you very much for the answer, but I tested GlobalizationPlugin on an iPhone and it does not seem to work only in android.
GG.
Hi,
In that case, I suggest you open a new discussion within the plugin
you can try to see what's coming by changing the GetPreferredLanguage action script to something like this:navigator.globalization.getPreferredLanguage (function (language) {alert ('language:' + language.value + '\ n')}},function () {alert ('Error getting language \ n');});
Thanks !