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

pages are not localized when using pages:extends with prefix strategy #3086

Open
huang-julien opened this issue Sep 4, 2024 · 0 comments
Open

Comments

@huang-julien
Copy link
Contributor

huang-julien commented Sep 4, 2024

Environment


  • Operating System: Windows_NT
  • Node Version: v20.11.0
  • Nuxt Version: 3.12.4
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/bobbiegoede-nuxt-i18n-starter-ktvmyt?file=nuxt.config.ts,node_m%2Fmod.ts,node_m%2Fpages%2Ftest.vue,app.vue

Describe the bug

Hey 👋

THe bug is that pages added through pages:extend hook in modules are not correctly localized by nuxt i18n with the prefix strategy. We only get the page localized for one lang + the name insn't localized either.

You can see theses info in the devtools

Additional context

No response

Logs

No response

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

No branches or pull requests

2 participants