diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b9236809f..b97722525f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/scm-ui/ui-webapp/src/i18n.ts b/scm-ui/ui-webapp/src/i18n.ts index 81b842f639..a3b6c2eba6 100644 --- a/scm-ui/ui-webapp/src/i18n.ts +++ b/scm-ui/ui-webapp/src/i18n.ts @@ -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: [] } });