-
-
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
How can I redirect translated url to the same page #712
Comments
Can you reproduce the same with pure Nuxt if you just name your route |
my file structure `
if i create մեր֊մասին․vue
it will work . but is there a way to not create մեր֊մասին.vue . because if it works in client side why it cant work in ssr ? |
I'm trying to determine whether it's a problem with Nuxt or this module. |
no |
There is actually a (It's not enabled by default because it's not compatible with some regexp path patterns but if you don't have any custom ones then you should be fine) Let's keep this issue open for now. I'll check if it's possible to remove that option altogether while making all cases work. EDIT: Actually it's the |
This could be considered a breaking change but since I only know of it breaking things rather than helping anything and there are no tests that would prove me otherwise, I think it's safe to remove without releasing a major version. Also, Nuxt doesn't encode paths either so this change aligns with it. Resolves #712
I'll consider this a bug and fix with #731 by removing the |
Paths encoding was fixing issue #7 but that one doesn't reproduce in latest Nuxt anymore so I'm even more confident in getting rid of |
) This could be considered a breaking change but since I only know of it breaking things rather than helping anything and there are no tests that would prove me otherwise, I think it's safe to remove without releasing a major version. Also, Nuxt doesn't encode paths either so this change aligns with it. Resolves #712
Thanks it works |
This broke all my paths for languages such as Taiwanese, Japanese, Korean. Please don't introduce MASSIVE breaking changes, to fix the issue of one user. vue-router now expects all paths to be URIEncoded, can these be reverted and a correct solution for the problem found. I'd rather not add URIEncode to every path on every class. |
The removal of encodePaths is almost a year old. At the time the removal made sense as VueRouter didn't expect encoded paths. If you have an issue now because VueRouter and Nuxt made changes then feel free to report an issue about it with proper reproduction steps and it will be fixed. |
WIll do. |
I want to translate url, but have an issue in ssr loading.
here is my configuration `
it works in client side when i link to localePath('about') . but when i refresh my page it cant find http://localhost:4000/մեր֊մասին
The text was updated successfully, but these errors were encountered: