Skip to content

ECMA-402 should stop accepting language subtags with more than 3 letters #951

Open
@sffc

Description

See unicode-org/icu4x#3989

Language subtags with more than 3 letters are uncommon in the wild, whereas supporting them comes with an implementation cost. We should look into removing the requirement that we support them.

Two ways to do this:

  1. Reject locale strings with long language subtags.
  2. Canonicalize long language subtags to something shorter.

@hsivonen filed https://bugzilla.mozilla.org/show_bug.cgi?id=1938524 to gather telemetry in Firefox on how widely used this feature might be. It would be useful to have similar data from @FrankYFTang.

Metadata

Assignees

Labels

c: localeComponent: locale identifierss: in progressStatus: the issue has an active proposal

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions