I’m using vuejs 3, quasar 2 and vue-i18n for my traductions. how can i use $t or $tc in translation file like this ? i have the error “$tc is not defined” Answer You should be able to do this with “Linked Locale Messages” (https://kazupon.github.io/vue-i18n/guide/messages.html#linked-locale-messages) So with a messages file something like this: You would then do <div>{{ $t(‘message.linked’, 10)
Tag: vue-i18n
Vue 3 i18n issue: The message format compilation is not supported in this build
vue & vue-i18n version ex: vue: 3.0.0.0 vue-i18n: 9.0.0-beta.15 Description I am probably doing something very wrong, however I would really appreciate some direction. I followed documentation from vue-i18n@next. Translation does not work and I get message in console: [intlify] The message format compilation is not supported in this build. Because message compiler isn’t included. You need to pre-compilation all
Nuxt.js i18n localization doesn’t work in SPA mode
I developed project Nuxt.js in universal mode and localized with i18n work fine, but now I want to change to in spa mode but i18n doesn’t change the language. this is code. file : nuxt.config.js file : middleware/i18n.js store/index.js and licalize file are in locales/fa.json and en.json Answer export default function ({ isHMR, app, store, route, params, req, error, redirect