kazupon / vue-i18n

:globe_with_meridians: Internationalization plugin for Vue.js

Home Page:https://kazupon.github.io/vue-i18n/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand the Pluralization API

Oktogazh opened this issue · comments

Clear and concise description of the problem

Some languages have dual and even sometimes trial grammatical numbers.

Once the issue #1169 will have been fixed, it might be nice to have the possibility to add more options and have something looking like this:

{
  "foo":  ['no bar', 'singubar', 'plurial bar', 'dual bar', 'trial bar', ' paucal bar', 'superplural bar'],
}

Suggested solution

Alternative

Sorry I didn't read the full docs section about custom pluralization. Now closing this.

Additional context

No response

Validations

  • Read the Contributing Guidelines
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.