You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/05/23 08:09:03 UTC
[jira] [Commented] (CB-6490) getLocaleName does not return
consistent results depending on the platform
[ https://issues.apache.org/jira/browse/CB-6490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14006851#comment-14006851 ]
ASF subversion and git services commented on CB-6490:
-----------------------------------------------------
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.
> getLocaleName does not return consistent results depending on the platform
> --------------------------------------------------------------------------
>
> Key: CB-6490
> URL: https://issues.apache.org/jira/browse/CB-6490
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Globalization, WP8
> Environment: Windows Phone 8
> Reporter: Pascale Dardailler
> Assignee: Jesse MacFadyen
>
> getLocaleName does not return consistent results depending on the platform.
> The documentation should be changed to state that it should return a BCP 47 representation of Unicode locale identifier (see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier - section "3.3.1 BCP 47 tag conversion") to identify the culture of the user, and disambiguate the region as a place.
> Implementation should be changed accordingly.
> WindowsPhone 8 implementation is incorrect. Returning country code is not enough. It should use CultureInfo.CurrentCulture.Name.
> Android and iOS should use "dashes" instead of "underscores".
--
This message was sent by Atlassian JIRA
(v6.2#6252)