localize-router: localize-router incompatible with @angular/router: ^6.0.0

Hi! I have been having an issue with localize-router and @angular/router: 6.0.0. It doesn’t change the url /en /es when doing changeLanguage. After a deeper looking I tested it with @angular/router: 5.2.6 and it does work with it.

Would you be able to fix this any time soon so it is compatible with @angular/router:6.0.0 ?

Thanks!

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 7
  • Comments: 23

Most upvoted comments

Is there any update on this ? I want to migrate my project to angular 6 and this is one of my last issues !

Localize router now supports Angular v6 and v7. Please upgrade to the latest 2.x.x version.

@alvarofelipe12 You can actually try to use my fork that I use on Angular 6: https://github.com/gilsdav/ngx-translate-router I don’t know what is happening on this repo but it does not seem to be moving much 😦

@philip-firstorder , does this work for you? When I use rxjs-compat, localize-router doesn’t work appropriately. The language will translate but the active route will not change and the localized routes can’t be matched.