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

Pluralization for more languages #2

Open
codepunkt opened this issue Jun 10, 2017 · 3 comments
Open

Pluralization for more languages #2

codepunkt opened this issue Jun 10, 2017 · 3 comments

Comments

@codepunkt
Copy link

codepunkt commented Jun 10, 2017

At the moment, only none, one and many are available. Are there any plans to allow pluralization for languages such as Czech?

See http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html for reference.

@developit
Copy link
Contributor

Yes! They are aliases and you can actually also use an Array or numeric keys to customize per-number. The thing we don't yet support is custom ranges. We'd love a PR exploring it!

@developit
Copy link
Contributor

FWIW someone mentioned on Twitter that it might be worth investigating ICU Message format, as react-intl uses. For our case this was deemed too large given the set of languages we support, but I'd love to have the ability to inject ICU support via a plugin model. The definitions are still just strings, but given an ICU plugin they could be extended to be full message templates.

@yaitskov
Copy link

Russian and Polish languages are also requiring this.

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

No branches or pull requests

4 participants