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 would like to understand how to use vue-i18n with pinia. If I have a locale switcher in my main app, and my store returns some t() strings, I don't see the values change when the locale changes. Is this a bug, or am I using it wrong?
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
-
I would like to understand how to use vue-i18n with pinia. If I have a locale switcher in my main app, and my store returns some
t()
strings, I don't see the values change when the locale changes. Is this a bug, or am I using it wrong?Here's an example with nuxt: https://stackblitz.com/edit/nuxt-pinia-ssr-qwpymm?file=app.vue
Example with just vue and pinia: https://stackblitz.com/edit/vitejs-vite-gtfns7?file=src%2FApp.vue
Beta Was this translation helpful? Give feedback.
All reactions