diff --git a/core/module/language/language.php b/core/module/language/language.php index 94a0a0e..a301bf2 100644 --- a/core/module/language/language.php +++ b/core/module/language/language.php @@ -435,7 +435,7 @@ class language extends common // La locale est-elle celle de la langue de l'UI ? if ($lang === self::$siteContent) { - self::$locales[$lang]['locale'] = $this->getData(['locale']); + self::$locales[$lang]['locale'] = $this->getData(['config']); } else { // Lire les locales sans passer par les méthodes self::$locales[$lang] = json_decode(file_get_contents(self::DATA_DIR . $lang . '/locale.json'), true);