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

Add support for more plural forms #50

Open
waclaw66 opened this issue Feb 16, 2021 · 2 comments
Open

Add support for more plural forms #50

waclaw66 opened this issue Feb 16, 2021 · 2 comments

Comments

@waclaw66
Copy link

waclaw66 commented Feb 16, 2021

Please add support for more plural forms like "few" or "many".
https://unicode-org.github.io/cldr-staging/charts/38.1/supplemental/language_plural_rules.html

@t3chguy
Copy link

t3chguy commented Feb 16, 2021

I think the difficulty with this is the rules are very different per-language.

few for Czech is 2~4
few for Polish is 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, … (integer ending in 2~4)

@waclaw66
Copy link
Author

I think this is already solved by language plugins within
https://github.com/martinandert/pluralizers

I think the difficulty with this is the rules are very different per-language.

few for Czech is 2~4
few for Polish is 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, … (integer ending in 2~4)

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

2 participants