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
Because of how #2780 got fixed, if someone makes a new language like es-419, it will again add plural for many and its the same for any other language.
I don't really understand why this implementation of the fix checks for specific language tags instead of checking if the primary language is the expected one if this is a bug.
I also cant find the original reason as they are kinda correct plural rules, what happens if I use fluent.js? Does it have somewhere hardcoded that es is just ['one', 'other']?
The text was updated successfully, but these errors were encountered:
The check could indeed be on just the primary subtag (e.g. es for es-419). These special cases are included to 1) support some languages that are not included yet in the CLDR, and 2) not default to including the many case for millions in romance languages.
mathjazz
changed the title
special case plural handling breaks when adding new languages by hand
Special case plural handling should be on the primary subtag
Sep 23, 2024
Because of how #2780 got fixed, if someone makes a new language like
es-419
, it will again add plural for many and its the same for any other language.I don't really understand why this implementation of the fix checks for specific language tags instead of checking if the primary language is the expected one if this is a bug.
I also cant find the original reason as they are kinda correct plural rules, what happens if I use fluent.js? Does it have somewhere hardcoded that
es
is just['one', 'other']
?The text was updated successfully, but these errors were encountered: