gilsdav / ngx-translate-router

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

Modules not preloaded a first navigation (not specially on preloaded module) when initialNavigation managed by the library #84

Open gilsdav opened 4 years ago

gilsdav commented 4 years ago

Configurations to reproduce:

RouterModule.forRoot(routes, { initialNavigation: 'disabled', preloadingStrategy: PreloadAllModules }),
LocalizeRouterModule.forRoot(routes, {
    initialNavigation: true,
    ....
})
sathwik77 commented 3 years ago

This is the reason why browser-triggered navigations with locale links do throw 404? (ex: https://localhost:8080/fr) directly triggered from browser navigation throws 404