You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Eduardo Breijo (JIRA)" <de...@myfaces.apache.org> on 2017/11/17 21:44:00 UTC

[jira] [Updated] (MYFACES-4174) Use Locale.forLanguageTag as defined in JSF 2.3 spec section 2.5.2.1

     [ https://issues.apache.org/jira/browse/MYFACES-4174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eduardo Breijo updated MYFACES-4174:
------------------------------------
    Status: Patch Available  (was: Open)

> 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
>    Affects Versions: 2.3.0-beta
>            Reporter: Eduardo Breijo
>            Assignee: Eduardo Breijo
>            Priority: Minor
>         Attachments: MYFACES-4174.patch
>
>
> 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)