Need to use variantAlias replacement in BCP 47 Language Tag to Unicode BCP 47 Locale Identifier

Description

In the "BCP 47 Language Tag to Unicode BCP 47 Locale Identifier" https://unicode-org.github.io/cldr/ldml/tr35.html#Language_Tag_to_Locale_Identifier
, there are replacement by matching languageAlias, territoryAlias, and scriptAlias, but there are no replacement by matching the variantAlias.

In the other hand, in "3.2.1 Canonical Unicode Locale Identifiers" https://unicode-org.github.io/cldr/ldml/tr35.html#Canonical_Unicode_Locale_Identifiers, there are replacement by using variantAlias

We should add https://unicode-org.github.io/cldr/ldml/tr35.html#Language_Tag_to_Locale_Identifier
5. If any BCP 47 variant subtag matches the type attribute of a variantAlias element in Supplemental Data, replace the variant subtag with the replacement value.

If any variant subtag matches the the type attribute of a variantAlias element in Supplemental Data, replace the variant subtag with the replacement value.

xpath

None

locale

None

Activity

Show:
Mark Davis
December 17, 2020, 4:49 AM

I think this might be obsolete, but should verify.

Priority

medium

Assignee

Mark Davis

Reporter

Frank Yung-Fong Tang

Reviewer

None

Fix versions

Components

Labels

Phase

None
Configure