diff --git a/frontend/src/lib/i18n/i18n-service.ts b/frontend/src/lib/i18n/i18n-service.ts index f5f57b8..a47011d 100644 --- a/frontend/src/lib/i18n/i18n-service.ts +++ b/frontend/src/lib/i18n/i18n-service.ts @@ -30,11 +30,11 @@ export class I18nService { fallbackLng: 'en', debug: false, defaultNS: 'translation', - fallbackNS: 'common', resources: translations as Resource, interpolation: { escapeValue: false }, + returnEmptyString: false, // detection: { // order: ['browser', 'querystring', 'navigator', 'localStorage', 'htmlTag'], // lookupQuerystring: 'lng' diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index 576e43f..81ac8fb 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -35,5 +35,8 @@ // "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"] //} { - "extends": "./.svelte-kit/tsconfig.json" + "extends": "./.svelte-kit/tsconfig.json", + "compilerOptions": { + "resolveJsonModule": true + } }