Ingmar Bode created CB-4822:
-------------------------------

             Summary: globalization.getLocaleName does not always return the 
real country setting
                 Key: CB-4822
                 URL: https://issues.apache.org/jira/browse/CB-4822
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin Globalization
    Affects Versions: 2.7.0
            Reporter: Ingmar Bode
            Assignee: Steve Gill


Due to the documentation "globalization.getLocaleName" returns the locale 
identifier of the browser. Unfortunately on some devices (e.g. iOS) the 
browsers seem to return some kind of "fake" locale. For example, when I go in 
my iPhone's settings and set language: en and region: uk, 
globalization.getLocaleName returns "en_US" though I would expect "en_UK".

Is there any way you guys can make Cordova return the "real region" set in the 
phones settings - and not what the phone's browser thinks?

Btw: We are using Telerik's Icenium. They are currently working with Cordova 
2.7., so maybe this issue has already been improved/fixed in later Cordova 
versions?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to