[ 
https://issues.apache.org/jira/browse/CB-4822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006852#comment-14006852
 ] 

ASF subversion and git services commented on CB-4822:
-----------------------------------------------------

Commit 86bd57c39bee21116ce6ced42254f34be602c9cd in 
cordova-plugin-globalization's branch refs/heads/master from [~stacic]
[ 
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-globalization.git;h=86bd57c
 ]

CB-4602 CB-6490 CB-4822 WP Globalization

BCP-47 compliance for getLocaleName, getPreferredLanguage.


> 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.2#6252)

Reply via email to