You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
There is a lot of languages with more than two forms - singular and plural. For example in polish (and most of slavic languages) we have
1 comment - 1 komentarz
2 comments - 2 komentarze
5 comments - 5 komentarzy
here we have two different forms of plurals. But ... there is much more fun in this area. https://doc.qt.io/archives/qq/qq19-plurals.html - in QT library docs is quite nice example
So you just have to pass an optional pluralizationRules object into VueI18n constructor options. @wikiyu Can you formulate these rules for Polish and create such an object?
Are you still interested in this feature request? If yes, I need some help creating the corresponding object to implement the special pluralization. @wikiyu@dfoltynski ?
arndissler
added a commit
to arndissler/third-stats
that referenced
this issue
Dec 4, 2020
Is your feature request related to a problem? Please describe.
There is a lot of languages with more than two forms - singular and plural. For example in polish (and most of slavic languages) we have
1 comment - 1 komentarz
2 comments - 2 komentarze
5 comments - 5 komentarzy
here we have two different forms of plurals. But ... there is much more fun in this area.
https://doc.qt.io/archives/qq/qq19-plurals.html - in QT library docs is quite nice example
Describe the solution you'd like
Best method that i even know about translations with support of many plural (and null) forms is gettext https://www.gnu.org/software/gettext/
with poEditor - tool to make very fast translations, and even online tool. As i found there is also javascript gettext implementation.
https://github.com/guillaumepotier/gettext.js/
Describe alternatives you've considered
Additional context
https://www.gnu.org/software/gettext/manual/gettext.html#Translating-plural-forms
The text was updated successfully, but these errors were encountered: