🌐 Updated i18next options

This commit is contained in:
Mawoka
2022-04-28 17:53:00 +02:00
parent cf5aed3893
commit 307634d432
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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'
+4 -1
View File
@@ -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
}
}