-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Section 9.1 AvailableLocales shouldn't require base language if script is present #947
Comments
Is there any spec text supporting this claim? I would consider it perfectly reasonable for an implementation that has data for "zh-Hant" but not "zh-Hans" to use the former in service of requested locale "zh", and any application that specifically warrants "zh-Hans" should be specific. On the other hand, it would seem bizarre and in violation of the spirit (if not also the letter) of BCP 47 to support narrow data in absence of covering broad data. Some excerpts:
I don't think that's invalided by Unicode likelySubtags logic, which improves "best case" results but should not preempt such "worst case" scenarios. |
CC @eemeli I think my main problem here is that the spec requires |
I don't agree with the characterization of "zh" as a fallback for "zh-Hant"... it's a generalization that uses the same language but lacks any specification of script, and therefore encompasses "Hant" but also "Hans" (and for that matter, "Hani" and "Hanb" and "Latn" as well).
Well, lookup by prefix is pretty strongly baked in via |
It seems like it should be allowed for
AvailableLocales
to supportzh-Hant
but notzh
, sincezh
implieszh-Hans
. However, the spec currently states:The text was updated successfully, but these errors were encountered: