Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
maxfrees opened this issue Sep 22, 2024 · 3 comments
Open
4 tasks done

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

maxfrees opened this issue Sep 22, 2024 · 3 comments
Labels
🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage Type: Bug Bug or Bug fixes

Comments

@maxfrees
Copy link

maxfrees commented Sep 22, 2024

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

@maxfrees maxfrees added the Status: Review Needed Request for review comments label Sep 22, 2024
@kazupon kazupon added Type: Bug Bug or Bug fixes 🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage and removed Status: Review Needed Request for review comments labels Sep 22, 2024
@kazupon
Copy link
Member

kazupon commented Sep 22, 2024

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
Copy link
Author

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 p3-minor-bug Priority 3: a bug in an edge case that only affects very specific usage Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants