You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if similar feature request does not exist
[x ] support request => Suggested place for help and support is [stackoverflow](https://stackoverflow.com/), search for similar question before posting
Description
I having an issue related to the child routes,
I've main module app-routing.module.ts importing the main routes like:
import { routes } from './auth.routes';
import { LocalizeRouterModule } from '@gilsdav/ngx-translate-router';
[....]
imports: [
RouterModule.forChild(routes),
LocalizeRouterModule.forChild(routes)
]
But trying to access to translated route, for example:
/en/auth/register works **OK**
/es/autenticacion/registro translated route is simply **NOT WORKING**.
Instead of that I'm receiving the following error: core.js:4002 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'es/autenticacion/registro'
The weird thing is that, if in my main routes (app.routes.ts) that then is imported in app.module.ts add the following:
I'm submitting a ... (check one with "x")
Description
I having an issue related to the child routes,
I've main module app-routing.module.ts importing the main routes like:
Then in the auth.routes.ts, I've the following:
then in auth.module.ts:
But trying to access to translated route, for example:
Instead of that I'm receiving the following error:
core.js:4002 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'es/autenticacion/registro'
The weird thing is that, if in my main routes (app.routes.ts) that then is imported in app.module.ts add the following:
it works like a charm, so the issue is just when I trying to add children routes. And it's simply giving that error...
🌍 Your Environment
Angular Version: 8.2.5
Localize Router Version: 2.0.0
The text was updated successfully, but these errors were encountered: