Skip to content

Consider support of old locale extension syntax in locale parsing #4566

Open
@alp

Description

@alp

We encounter clients that report locales using "Old locale extension syntax", e.g. ar@numbers=latn. I verified that locid::Locale parsing is rejecting such strings with the error "The given language subtag is invalid".
Should we consider extending parsing support towards this syntax?

Metadata

Metadata

Labels

C-localeComponent: Locale identifiers, BCP47T-enhancementType: Nice-to-have but not requireddiscussDiscuss at a future ICU4X-SC meetingdiscuss-triagedThe stakeholders for this issue have been identified and it can be discussed out-of-band

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions