intlify/vue-i18n

Hierarchical locale messages under petite-vue-i18n are not working

maxfrees opened this issue · 4 comments

Reporting a bug?

Hierarchical locale messages under petite-vue-i18n are not working

Expected behavior

Hierarchical locale messages under petite-vue-i18n are not working

Reproduction

https://stackblitz.com/edit/vitejs-vite-gy19pc?file=src%2Fmain.ts

ref #1962

System Info

windows

Screenshot

No response

Additional context

No response

Validations

Thank you for your reporting!

I've just fixed this issue.
You can try to install vue-i18n v10.0.3
and You need to install @intlify/unplugin-vue-i18n v5.2 and module option setting
See the docs
https://vue-i18n.intlify.dev/guide/advanced/lite#setting-bundler-plugin

It will probably be a lot less than vue-i18n, because petite-vue-i18n need to install @intlify/unplugin-vue-i18n and @intlify/core separately, we need to evaluate it

Now it looks a bit cumbersome, in addition to the need to install petite-vue-i18n, you also need @intlify/unplugin-vue-i18n and @intlify/core-base

close
We believe this issue has been resolved.
If you have still an issue, please open a new one.

Thanks!