Hiya all, we would like to use per-component translations / a custom block in our Nuxt3 project:
We have global /locales already in use.
Vue Dev Tools shows the custom block messages but I cannot work out how to access them.
I logged @intlify/vite-plugin-vue-i18n/messages and found the messages defined in /locales but nothing from the custom block.
Please find screenshots & snippets:
vue dev tools
component.vue
<i18n>
{
"en": {
"pageTitle": "Mission and Vision"
},
"de": {
"pageTitle": "Auftrag und Visionn"
}
}
</i18n>
![Screen Shot 2022-07-05 at 14 48 06](https://user-images.githubusercontent.com/47255988/177331507-f31197c2-4b5a-40de-955c-739064e35b6a.png)
- `nuxt.config.ts`
```js
intlify: {
localeDir: 'locales', // set the `locales` directory at source directory of your Nuxt application
vueI18n: {},
},
Hiya all, we would like to use per-component translations / a custom block in our Nuxt3 project:
/locales
already in use.messages
but I cannot work out how to access them.@intlify/vite-plugin-vue-i18n/messages
and found themessages
defined in/locales
but nothing from the custom block.Please find screenshots & snippets:
vue dev tools
component.vue
Environment
npx nuxi info