[ https://issues.apache.org/jira/browse/SLING-7112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-7112. ----------------------------------- > ResourceBundle cannot be retrieved for private-use country codes > ---------------------------------------------------------------- > > Key: SLING-7112 > URL: https://issues.apache.org/jira/browse/SLING-7112 > Project: Sling > Issue Type: Bug > Components: i18n > Affects Versions: i18n 2.5.8 > Environment: Mac OS, AEM > Reporter: Harold Putman > Assignee: Konrad Windszus > Priority: Minor > Fix For: i18n 2.5.10 > > > In HTL the @i18n tag fails when jcr:language not in ISO list. > es_PY falls back to es, but es_XL falls back to default en. > I think this is related to the check for valid countries in > JcrResourceBundleProvider::toLocale(). > If you feel you must check for valid country code, please also allow case > where country code starts with X which is allowed by the [IANA > spec](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry). > ``` > %% > Type: region > Subtag: XA..XZ > Description: Private use > Added: 2005-10-16 > ``` -- This message was sent by Atlassian JIRA (v6.4.14#64029)