counterpart icon indicating copy to clipboard operation
counterpart copied to clipboard

Add support for more plural forms

Open waclaw66 opened this issue 3 years ago • 2 comments

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

waclaw66 avatar Feb 16 '21 12:02 waclaw66

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)

t3chguy avatar Feb 16 '21 13:02 t3chguy

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)

waclaw66 avatar Feb 16 '21 13:02 waclaw66