vuetify-nuxt-module icon indicating copy to clipboard operation
vuetify-nuxt-module copied to clipboard

No connectivity between i18n and Vuetify.locale

Open Talla2XLC opened this issue 2 years ago • 1 comments

When I changing i18n locale it doesn`t change Vuetify.locale.current (useLocale().current)

I have '@nuxtjs/i18n' and 'vuetify-nuxt-module' in my nuxt.config...

Talla2XLC avatar Jul 28 '23 06:07 Talla2XLC

You need to configure i18n module properly, check the i18n option in the playground, there are a few options you need to configure.

I need to fix some edge cases and add some entries to the docs. Right now we cannot change the i18n locale directly, we need to use i18n.setLocale that's async.

The playground is using no_prefix strategy, you can check this issue https://github.com/nuxt-modules/i18n/issues/2192

userquin avatar Jul 28 '23 08:07 userquin