We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093e325 commit 0c740beCopy full SHA for 0c740be
src/i18n.js
@@ -52,19 +52,6 @@ i18next.services.pluralResolver.addRule(
52
return Number(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);
53
}
54
});
55
- i18next.services.pluralResolver.addRule(
56
- // override plural rule from
57
- // https://github.com/i18next/i18next/blob/270904f6369ee9bbda059c3186fcea7baf9eb15d/src/PluralResolver.js#L58
58
- // with the one from
59
- // https://unicode-org.github.io/cldr-staging/charts/37/supplemental/language_plural_rules.html#mk
60
- // to use plural also for 11, 111, 211, 311...
61
- 'mk',
62
- {
63
- numbers: [1,2],
64
- plurals: function plurals(n) {
65
- return Number(n==1 || n%10==1 && n%100!=11 ? 0 : 1);
66
- }
67
- });
68
69
const i18n = new VueI18Next(i18next)
70
0 commit comments