intlify / nuxt3

Nuxt 3 Module for vue-i18n-next
MIT License
202 stars 19 forks source link

Cannot access custom block messages / per-component translations #74

Open MoodyBones opened 2 years ago

MoodyBones commented 2 years ago

Hiya all, we would like to use per-component translations / a custom block in our Nuxt3 project:

Please find screenshots & snippets:

![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: {},
  },

Environment npx nuxi info

  ------------------------------
- Operating System: `Darwin`
- Node Version:     `v16.14.0`
- Nuxt Version:     `3.0.0-rc.1-27520426.ab3971d`
- Package Manager:  `yarn@1.17.3`
- Builder:          `vite`
- User Config:      `buildModules`, `modules`, `css`, `build`, `vite`, `strapi`, `intlify`, `telemetry`
- Runtime Modules:  `@intlify/nuxt3@0.2.2`, `@formkit/nuxt@1.0.0-beta.6`, `@nuxtjs/strapi@1.3.2-27565120.a6bd24b`
- Build Modules:    `@vueuse/nuxt@8.3.1`
------------------------------
iBobik commented 2 years ago

Duplicate: #84