RocketChat / feature-requests

This repository is used to track Rocket.Chat feature requests and discussions. Click here to open a new feature request.
21 stars 9 forks source link

Support for plural forms for non-English languages #84

Open fduraibi opened 8 years ago

fduraibi commented 8 years ago

The current implementation has support for plural form that is compatible with the English language, so there are only two rules "single" and "many", while many other languages have more. See https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Localization_and_Plurals

I am not sure if LingoHub has support for that, but I have used Transifex and it provides an easy way to support the rules for each translated language. See the picture below for translation from English to Arabic, and they way it handles the different Arabic rules: rocketchat-bug2

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

engelgabriel commented 8 years ago

https://github.com/TAPevents/tap-i18n#advanced-i18n

engelgabriel commented 8 years ago

http://i18next.github.io/i18next/pages/doc_features.html

marceloschmidt commented 5 years ago

I believe this is more suitable to the feature requests repo. If more people needs this, we'll have to figure out somehow to implement it.