mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 00:15:44 +01:00
avoid caching of detected browser language
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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