intlify / vue-i18n

Vue I18n for Vue 3
https://vue-i18n.intlify.dev/
MIT License
2.21k stars 337 forks source link

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

Closed maxfrees closed 1 month ago

maxfrees commented 2 months ago

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 https://github.com/intlify/vue-i18n/issues/1962

System Info

windows

Screenshot

No response

Additional context

No response

Validations

kazupon commented 2 months ago

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

maxfrees commented 2 months ago

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

maxfrees commented 2 months ago

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

kazupon commented 1 month ago

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

Thanks!