Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 50E00200D42 for ; Fri, 17 Nov 2017 22:37:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4F674160BFB; Fri, 17 Nov 2017 21:37:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 95244160BE6 for ; Fri, 17 Nov 2017 22:37:04 +0100 (CET) Received: (qmail 96136 invoked by uid 500); 17 Nov 2017 21:37:03 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 96125 invoked by uid 99); 17 Nov 2017 21:37:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Nov 2017 21:37:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B7BC61A0835 for ; Fri, 17 Nov 2017 21:37:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.418 X-Spam-Level: * X-Spam-Status: No, score=1.418 tagged_above=-999 required=6.31 tests=[KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001, SPF_FAIL=0.919] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ybd_53JsT0Ys for ; Fri, 17 Nov 2017 21:37:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id CBC485FD71 for ; Fri, 17 Nov 2017 21:37:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0A0C7E258F for ; Fri, 17 Nov 2017 21:37:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 60264240F6 for ; Fri, 17 Nov 2017 21:37:00 +0000 (UTC) Date: Fri, 17 Nov 2017 21:37:00 +0000 (UTC) From: "Eduardo Breijo (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MYFACES-4174) Use Locale.forLanguageTag as defined in JSF 2.3 spec section 2.5.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 17 Nov 2017 21:37:05 -0000 Eduardo Breijo created MYFACES-4174: --------------------------------------- Summary: Use Locale.forLanguageTag as defined in JSF 2.3 spec section 2.5.2.1 Key: MYFACES-4174 URL: https://issues.apache.org/jira/browse/MYFACES-4174 Project: MyFaces Core Issue Type: Bug Reporter: Eduardo Breijo Assignee: Eduardo Breijo Priority: Minor We need to use the Locale.forLanguage tag method to as defined in the JSF 2.3 spec section 2.5.2.1. "To facilitate BCP 47 support, the Locale parsing mentioned above is done only if the JDK Locale.languageForTag method does not return a Locale with a language in it. The additional format of the Locale string is as specified by that method." -- This message was sent by Atlassian JIRA (v6.4.14#64029)