Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
i18n 2.5.8
-
None
-
Mac OS, AEM
Description
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
```
Attachments
Issue Links
- links to