gilsdav / ngx-translate-router

Translate routes using ngx-translate
131 stars 43 forks source link

changeLanguage + loadChildren with standalone components doubles localized path in url #142

Closed daarxwalker closed 1 year ago

daarxwalker commented 1 year ago

Hi, thanks for the great work! I saw some similar issues, but none of them describe the bug causing loadChildren standalone components.

Angular 15.0.4 (downgraded from latest, initialNavigation bug)

This is fine Snímek obrazovky 2023-02-28 v 18 25 03

This is causing the bug Snímek obrazovky 2023-02-28 v 18 24 52

Group of routes with standalone components Snímek obrazovky 2023-02-28 v 18 24 35

Bug in url Snímek obrazovky 2023-02-28 v 18 31 56

daarxwalker commented 1 year ago

I thought, it could have something with :slug, but no, after delete slug route, still doubling.

odomanskyi commented 1 year ago

same issue

hudzenko commented 1 year ago

Same

jemys89 commented 1 year ago

Same!

gilsdav commented 1 year ago

Fixed on version 7.0.0