[ https://issues.apache.org/jira/browse/CB-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128886#comment-14128886 ]
Mike Billau commented on CB-4822: --------------------------------- Android returns "en-GB" when I set the language to English (United Kingdom), so this looks right for Android. > 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 > > 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 was sent by Atlassian JIRA (v6.3.4#6332)