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
I have been browsing for a whole afternoon, trying to understand how to properly implement pluralization.
The thing is, I saw that vue-i18n uses the format "key": "{n} item | {n} items", which, for me, is not quite what I imagined to be the most practical thing on our company's translators' side.
Instead, I wanted to be able to use pluralization from i18next's V4 format, which defines different strings with suffixes such as , "_zero", "_one", "_many", "_other", that I find more practical for my use-case.
For reference, I parse my TS files to gather translations using i18next-scanner.
Would it be possible in any way to load this kind of format or is it totally incompatible anyways?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I have been browsing for a whole afternoon, trying to understand how to properly implement pluralization.
The thing is, I saw that vue-i18n uses the format "key": "{n} item | {n} items", which, for me, is not quite what I imagined to be the most practical thing on our company's translators' side.
Instead, I wanted to be able to use pluralization from i18next's V4 format, which defines different strings with suffixes such as , "_zero", "_one", "_many", "_other", that I find more practical for my use-case.
For reference, I parse my TS files to gather translations using i18next-scanner.
Would it be possible in any way to load this kind of format or is it totally incompatible anyways?
Beta Was this translation helpful? Give feedback.
All reactions