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

switchLocalePath returning empty string #3051

Closed
pmnzt opened this issue Aug 4, 2024 · 2 comments
Closed

switchLocalePath returning empty string #3051

pmnzt opened this issue Aug 4, 2024 · 2 comments

Comments

@pmnzt
Copy link

pmnzt commented Aug 4, 2024

Environment


  • Operating System: Linux
  • Node Version: v18.20.2
  • Nuxt Version: 3.12.4
  • CLI Version: 3.12.0
  • Nitro Version: 2.9.7
  • Package Manager: [email protected]
  • Builder: -
  • User Config: compatibilityDate, devtools, modules, i18n
  • Runtime Modules: @nuxtjs/[email protected]
  • Build Modules: -

Reproduction

https://github.com/pmnzt/nuxt-i18n-issues

Describe the bug

As the title, the function is returning an empty string instead of a path

Additional context

No response

Logs

No response

@BobbieGoede
Copy link
Collaborator

Your project has no pages, so no routes for the module to localize, I have modified your reproduction here and added an index page to demonstrate.

@BobbieGoede BobbieGoede closed this as not planned Won't fix, can't repro, duplicate, stale Aug 4, 2024
@pmnzt
Copy link
Author

pmnzt commented Aug 4, 2024

Your project has no pages, so no routes for the module to localize, I have modified your reproduction here and added an index page to demonstrate.

ok sorry, did not know that, what about ? #3052

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