Extend the locale layer of the country-code library so applications can use normal language tags and ordered…
Extend the locale layer of the country-code library so applications can use normal language tags and ordered…: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Locale identifiers must be canonicalized by trimming surrounding whitespace, replacing with - , and…
The task
Locale identifiers must be canonicalized by trimming surrounding whitespace, replacing `_` with `-`, and comparing/storing case-insensitively. Registering an identifier that canonicalizes to an existing identifier replaces that locale's data. A lookup for a regional tag first uses an exact registered locale, then…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.