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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16258486#comment-16258486 ] 

Paul Nicolucci commented on MYFACES-4174:
-----------------------------------------

I opened spec issue to correct the typo in the JSF 2.3 spec here: https://github.com/javaee/javaserverfaces-spec/issues/1460

> 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)