🌐 Updated i18next options
This commit is contained in:
@@ -30,11 +30,11 @@ export class I18nService {
|
|||||||
fallbackLng: 'en',
|
fallbackLng: 'en',
|
||||||
debug: false,
|
debug: false,
|
||||||
defaultNS: 'translation',
|
defaultNS: 'translation',
|
||||||
fallbackNS: 'common',
|
|
||||||
resources: translations as Resource,
|
resources: translations as Resource,
|
||||||
interpolation: {
|
interpolation: {
|
||||||
escapeValue: false
|
escapeValue: false
|
||||||
},
|
},
|
||||||
|
returnEmptyString: false,
|
||||||
// detection: {
|
// detection: {
|
||||||
// order: ['browser', 'querystring', 'navigator', 'localStorage', 'htmlTag'],
|
// order: ['browser', 'querystring', 'navigator', 'localStorage', 'htmlTag'],
|
||||||
// lookupQuerystring: 'lng'
|
// lookupQuerystring: 'lng'
|
||||||
|
|||||||
@@ -35,5 +35,8 @@
|
|||||||
// "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"]
|
// "include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"]
|
||||||
//}
|
//}
|
||||||
{
|
{
|
||||||
"extends": "./.svelte-kit/tsconfig.json"
|
"extends": "./.svelte-kit/tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"resolveJsonModule": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user