-
Notifications
You must be signed in to change notification settings - Fork 93
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
locale switching breaks on second switch #147
Comments
Also, |
@SrgSteak, which version of localize-router is this - 1.0.1 or 2.0.0-RC.x? |
2.0.0-RC.1 as you can find here: localize-router/demo/cli/package.json Line 28 in 00a8517
|
We have exactly the sam problem - it always add from package.json: |
I found this issue can be fixed by ensuring you have / at the start of your path to translate. I.e.: this.localizeSvc.translateRoute('/dashboard/admin/') or or with params: |
How to reproduce:
check out project,
move to demo/cli dir
npm install
ng serve
go to /de/benutzer or /en/users
click translate to DE/EN
click other button EN/DE
Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'de/benutzer//%5Bobject%20Object%5D' noMatchError@http://localhost:4200/vendor.js:57472:25
The text was updated successfully, but these errors were encountered: