diff --git a/src/routing.ts b/src/routing.ts index 24306dead..7f0c8d545 100644 --- a/src/routing.ts +++ b/src/routing.ts @@ -175,7 +175,7 @@ export function localizeRoutes(routes: NuxtPage[], options: LocalizeRoutesParams ) { localizedRoutes.push({ ...localized, - name: `${localized.name}___default` + name: `${localized.name}___${options.defaultLocaleRouteNameSuffix}` }) }