[ 
https://issues.apache.org/jira/browse/LANG-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941330#comment-14941330
 ] 

David Buhler commented on LANG-915:
-----------------------------------

I believe this ticket should be reconsidered for reopening. The current 
implementation that was introduced here does not support language code sub 
tags, instead only allowing three parameters.

You can see the specification for sub tags 
[here|https://tools.ietf.org/html/bcp47#section-4]. Oracle documentation for 
sub tag extensions can be found 
[here|https://docs.oracle.com/javase/tutorial/i18n/locale/extensions.html].

> Wrong locale handling in LocaleUtils.toLocale()
> -----------------------------------------------
>
>                 Key: LANG-915
>                 URL: https://issues.apache.org/jira/browse/LANG-915
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.1
>            Reporter: Sergio Fernández
>            Assignee: Benedikt Ritter
>            Priority: Minor
>             Fix For: 3.3
>
>         Attachments: LANG-915-test.patch, LANG-915.patch
>
>
> The static method LocaleUtils.toLocale() fails, at least, to parse 3-char 
> locale strings, which are completelly valid BCP47 locales.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to