Comment by WorldMaker

Comment by WorldMaker 2 hours ago

0 replies

Your example is still hard-coding just the two plural categories of English "one" and "other".

These days many i18n frameworks do need to embed some business logic, even if it is mostly fun things like the CLDR plural categories: https://www.unicode.org/cldr/charts/48/supplemental/language...

Mozilla's Fluent, for example is designed for maximal i18n support of plural selectors and other such things i18n needs: https://projectfluent.org/