Jiri Bruchanov
07/24/2023, 4:55 PMJiri Bruchanov
07/24/2023, 4:56 PMval rules = PluralRules.forLocale(locale)
rules.select(0.0)//other
rules.select(1.0)//one
rules.select(2.0)//two
rules.select(100.0)//other
^ or whatever is correct based on locale
by passing a number it will give me back a "number" category based on
https://www.unicode.org/cldr/charts/43/supplemental/language_plural_rules.html#en