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

Allow merging local messages instead of replacing them #1614

Closed
yassilah opened this issue Nov 6, 2022 · 0 comments
Closed

Allow merging local messages instead of replacing them #1614

yassilah opened this issue Nov 6, 2022 · 0 comments

Comments

@yassilah
Copy link
Contributor

yassilah commented Nov 6, 2022

Is your feature request related to a problem? Please describe.

Currently, it is not possible to merge messages from the vueI18n.messages option with the messages from a lang file, as those messages are being replaced entirely.

Describe the solution you'd like

Now that Nuxt 3 has added a new extends feature, it would be very useful to be able to set "default" locale messages from within a "theme", yet still allow a user to customize those messages in their own locale folder.

Describe alternatives you've considered

Additional context

I am using the latest version of @nuxtjs/i18n@next with Nuxt 3 RC-13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant