Replies: 1 comment 2 replies
-
Hi! I found that the v9 documentation has a section for custom pluralization. Maybe this can help you: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Previously in version 8 I was able to overwrite the prototype function fetchChoice
message in my case is an object and not a string. That's why the current public function to change the choice making is not enough for me.
But with version 9 and createI18n function I do not know how to do it.
I saw the referenced line (https://github.com/intlify/vue-i18n-next/blob/b5c73ef661e88719cb5d6c40a58e264923230077/packages/core-base/src/runtime.ts#L409C5-L409C36):
[HelperNameMap.PLURAL]: plural
increateMessageContext
.And I wondered how I can overwrite the Helper plural.
Beta Was this translation helpful? Give feedback.
All reactions