Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Should we map the code if the type is script ? #82

Closed
FrankYFTang opened this issue Jul 9, 2020 · 2 comments
Closed

Should we map the code if the type is script ? #82

FrankYFTang opened this issue Jul 9, 2020 · 2 comments

Comments

@FrankYFTang
Copy link
Collaborator

Similar to #80 but under different constraints
In #77 (comment)
@anba suggested
"
Region (and scripts) subtags should also get canonicalised to replaced outdated subtags with their preferred value.
"
This issue track the "script part" only since the issue with region is different.

I have concern about this. There are no standalone pre-defined process in UTS35 for this. The process for the script subtag within unicode_language_id stated in https://unicode-org.github.io/cldr/ldml/tr35.html#Canonical_Unicode_Locale_Identifiers is part of the the whole process. And also there is only one entry currently in
https://github.com/unicode-org/cldr/blob/master/common/supplemental/supplementalMetadata.xml

        <scriptAlias type="Qaai" replacement="Zinh" reason="deprecated"/>
@anba
Copy link
Collaborator

anba commented Jul 9, 2020

Responded in #81 why region subtags should be canonicalised. To provide a consistent API, we should do the same for script subtags.

@FrankYFTang
Copy link
Collaborator Author

This proposal moved to stage 4 in 2020-Sept TC39 meeting. I am not close this bug. If you still feel a need to map the code when the type is script, please file issue on https://github.com/tc39/intl-displaynames-v2/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants