Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE49F11677 for ; Tue, 22 Apr 2014 21:04:19 +0000 (UTC) Received: (qmail 74906 invoked by uid 500); 22 Apr 2014 21:04:19 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 74778 invoked by uid 500); 22 Apr 2014 21:04:18 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 74617 invoked by uid 99); 22 Apr 2014 21:04:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2014 21:04:17 +0000 Date: Tue, 22 Apr 2014 21:04:17 +0000 (UTC) From: "Pascale Dardailler (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CB-6490) getLocaleName does not return consistent results depending on the platform MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Pascale Dardailler created CB-6490: -------------------------------------- Summary: 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)