You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Plurals component only outputs a plurals.rb file for a locale if the locale appears exactly in the supplemental/plurals.xml file.
For example, zh-Hant doesn't have a plurals.rb file, which means that it would fall back to its parent locale, root. root happens to have the same plural rules as zh-Hant (i.e., everything uses other) so it isn't an issue.
However, there are locales that fall back to root that don't share the same plural rules as root. For example, sd-Deva falls back to root, but (as I understand it) sd-Deva uses both one and other. So if it were to use root's plurals.rb, it would be incorrect.
Potential Solution?
IDK yet.
The text was updated successfully, but these errors were encountered:
Problem
The
Plurals
component only outputs aplurals.rb
file for a locale if the locale appears exactly in thesupplemental/plurals.xml
file.For example,
zh-Hant
doesn't have aplurals.rb
file, which means that it would fall back to its parent locale,root
.root
happens to have the same plural rules aszh-Hant
(i.e., everything usesother
) so it isn't an issue.However, there are locales that fall back to
root
that don't share the same plural rules asroot
. For example,sd-Deva
falls back toroot
, but (as I understand it)sd-Deva
uses bothone
andother
. So if it were to useroot
'splurals.rb
, it would be incorrect.Potential Solution?
IDK yet.
The text was updated successfully, but these errors were encountered: