avoid caching of detected browser language

This commit is contained in:
Sebastian Sdorra
2020-06-08 11:41:51 +02:00
parent d5e3279032
commit 435a2ceea6
2 changed files with 10 additions and 0 deletions

View File

@@ -61,6 +61,15 @@ i18n
init: {
credentials: "same-origin"
}
},
// configure LanguageDetector
// see https://github.com/i18next/i18next-browser-languageDetector#detector-options
detection: {
// we only use browser configuration
order: ["navigator"],
// we do not cache the detected language
caches: []
}
});