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

@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
### Fixed
- Avoid caching of detected browser language
- Fixes configuration of jetty listener address with system property `jetty.host` ([#1173](https://github.com/scm-manager/scm-manager/pull/1173), [#1174](https://github.com/scm-manager/scm-manager/pull/1174))
## [2.0.0] - 2020-06-04

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: []
}
});