myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo Breijo (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (MYFACES-4174) Use Locale.forLanguageTag as defined in JSF 2.3 spec section 2.5.2.1
Date Fri, 17 Nov 2017 21:37:00 GMT
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)

Mime
View raw message