+// Avoid 404 when changing language
+for (const locale of POSSIBLE_LOCALES) {
+ routes.push({
+ path: locale,
+ component: EmptyComponent
+ })
+}
+
+routes.push({
+ path: '**',
+ loadChildren: () => import('./+page-not-found/page-not-found.module').then(m => m.PageNotFoundModule)
+})
+