Local locale with global messages #2150
Unanswered
rristoferbowers
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I use vue-i18n global messages but with a local locale?
The only variant that works for me
And no other combination of params
I can't use it without
messages
option.const { t } = useI18n({ locale: 'es', inheritLocale: false, useScope: 'local' }) <div> <h1>{{ t('eggs') }}</h1> // <-- still using en locale
What's wrong?
Beta Was this translation helpful? Give feedback.
All reactions