From a122fa461fdbd7f96717282d7557591641805ac1 Mon Sep 17 00:00:00 2001 From: Tripodi Date: Wed, 28 Jan 2026 18:38:34 +0100 Subject: [PATCH] fix(userconfig): ConfigLexiconEntry for locale --- core/AppInfo/ConfigLexicon.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/AppInfo/ConfigLexicon.php b/core/AppInfo/ConfigLexicon.php index edb8ce5f9b4df..e49458306247b 100644 --- a/core/AppInfo/ConfigLexicon.php +++ b/core/AppInfo/ConfigLexicon.php @@ -23,6 +23,7 @@ class ConfigLexicon implements IConfigLexicon { public const UNIFIED_SEARCH_MAX_RESULTS_PER_REQUEST = 'unified_search_max_results_per_request'; public const USER_LANGUAGE = 'lang'; public const LASTCRON_TIMESTAMP = 'lastcron'; + public const USER_LOCALE = 'locale'; public function getStrictness(): ConfigLexiconStrictness { return ConfigLexiconStrictness::IGNORE; @@ -39,6 +40,7 @@ public function getAppConfigs(): array { public function getUserConfigs(): array { return [ new ConfigLexiconEntry(self::USER_LANGUAGE, ValueType::STRING, null, 'language'), + new ConfigLexiconEntry(self::USER_LOCALE, ValueType::STRING, null, 'locale'), ]; } }