🌐 Updated i18next options
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user