-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
localePath('/career/my-slug') not returning default locales translation #1055
Comments
It should work with EDIT: Actually |
Hm. But neither do I get redirected to plus: lets say you're right and i18n somewhat assumes my locale is In any way: the way I understand the docs |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
According to the point "2" in my previous comment, this should be fixed. |
Version
nuxt-i18n: 6.20.0
nuxt: ^2.12.2
Nuxt-i18n configuration
Reproduction Link
https://codesandbox.io/s/nuxt-i18n-localepath-test-3d651?file=/pages/career/index.vue
Steps to reproduce
go to /career and read the template and script snippets
What is Expected?
localePath('/career/my-slug')
to return the translated url for my default localeDE
:/karriere/my-slug
What is actually happening?
It's returning
/career/my-slug
, although the default locale isDE
The text was updated successfully, but these errors were encountered: