Summary
In recent PR (#13), the author mentioned the fact that there are languages that will require more than two plural forms. While the current setup supports languages with no plurals (ex. Chinese, Japanese) and two forms (ex. Spanish, English), many Slavic languages (ex. Polish) have three or more form and languages like Arabic have six!
Fern i18n package needs to be reworked to support these languages as well. As mentioned in the PR, we need N plural forms and N is fixed per language. We'll move to using the CLDR standard to handle this in a good way: https://lingohub.com/blog/pluralization#cldr-overview
Conditions of Satisfaction
(削除) - [ ] locale [A/N: Didn't add anything really. The translation TOMLs hold everything in the plurals that they choose to encode.][meta] should have a plural_forms int count to note how many plural forms (max) a language has (削除ここまで)
- Use CLDR naming for
[terms.nouns]- change
singular>>one - change
plural>>other - add
two,few, andmany
- change
- refactor existing locales
[terms.nouns]to use new system - Helper function
P11N(n)method picks the right plural form for the active language - rewire in code to use new nouns p11n setup