diff --git a/packages/core/client/src/i18n/i18n.ts b/packages/core/client/src/i18n/i18n.ts index 23b7cf9c0..20e26ac84 100644 --- a/packages/core/client/src/i18n/i18n.ts +++ b/packages/core/client/src/i18n/i18n.ts @@ -28,6 +28,8 @@ i18n // }, // ns: ['client'], resources: {}, + keySeparator: false, + nsSeparator: false, }); i18n.on('languageChanged', (lng) => { diff --git a/packages/core/server/src/helper.ts b/packages/core/server/src/helper.ts index a2534aa6e..f7f751139 100644 --- a/packages/core/server/src/helper.ts +++ b/packages/core/server/src/helper.ts @@ -13,6 +13,8 @@ export function createI18n(options: ApplicationOptions) { instance.init({ lng: 'en-US', resources: {}, + keySeparator: false, + nsSeparator: false, ...options.i18n, }); return instance;