mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
avoid caching of detected browser language
This commit is contained in:
@@ -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: []
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user