You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "David Buhler (JIRA)" <ji...@apache.org> on 2015/10/06 16:34:27 UTC
[jira] [Updated] (LANG-1172) LocaleUtils.toLocale does not handle
extensions
[ https://issues.apache.org/jira/browse/LANG-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Buhler updated LANG-1172:
-------------------------------
Description:
The {{toLocale()}} method is unable to handle locale strings that have custom extensions that are completely valid according to the [BCP47 spec|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].
An example locale string with a custom extension might be {{fr-CA-x-nb}}.
This issue seems to have been introduced with ticket LANG-915.
was:
The toLocale method is unable to handle locale strings that have custom extensions, which are completely valid according to the [BCP47 spec|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].
An example locale string with a custom extension might be {{fr-CA-x-nb}}.
This issue seems to have been introduced with ticket LANG-915.
> LocaleUtils.toLocale does not handle extensions
> -----------------------------------------------
>
> Key: LANG-1172
> URL: https://issues.apache.org/jira/browse/LANG-1172
> Project: Commons Lang
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: David Buhler
>
> The {{toLocale()}} method is unable to handle locale strings that have custom extensions that are completely valid according to the [BCP47 spec|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].
> An example locale string with a custom extension might be {{fr-CA-x-nb}}.
> This issue seems to have been introduced with ticket LANG-915.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)