Open skius opened 1 year ago
In general the transliterator spec seems to not think much about fallback, to the point where the example is inconsistent with the paragraph describing it. We should think about maybe coming up with a good consistent scheme and then implement and upstream that.
Needs a design.
The inheritance section in UTS#35 does not mention how to fallback a transliterator such as
de-ASCII
, or more specifically,de-t-de-d0-ascii
.I assume the chain for the source this should follow is just the chain for the non-special part of
de_ASCII
(i.e.,de
) with the special modifierASCII
appended, plus in the end a last fallback option of justASCII
(und_ASCII
), because the root locale is not accessed inde
's fallback chain.So it would look like this:
de_ASCII
(start here)Latn_ASCII
(maximized script)und_ASCII
(dropped the non-special part)(note that the usage of
-
and_
in this issue is deliberate)It could also be that we never want any associated locales to special locales, i.e., the BCP47 for this transliterator is incorrect and should be
und-t-de-d0-ascii
instead.Thoughts?