Skip to content
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

Support for many pluralization category (CLDR v41) #1048

Open
aergonaut opened this issue Oct 5, 2022 · 0 comments
Open

Support for many pluralization category (CLDR v41) #1048

aergonaut opened this issue Oct 5, 2022 · 0 comments

Comments

@aergonaut
Copy link
Contributor

Starting with CLDR v40, from 2021-10-06, more languages were given a many pluralization category. For example, see the entry for Italian in the Language Plural Rules document.

rails-i18n only has logic to return many for a few languages. For languages like Italian, rails-i18n configures them with the OneOther rule, while they should now also support many, according to the CLDR.

I would like to add many to the languages where it newly appeared in CLDR v40 and v41. What would be the best practice to do this? I have not done an exhaustive investigation through the Language Plural Rules document, so I'm not sure how much is shared between the languages. If there is significant sharing, I assume a new OneManyOther pluralization rule class would be appropriate? Otherwise, I could edit the specific rules files with each language's specific rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant