diff --git a/core/include/update.inc.php b/core/include/update.inc.php index 13b9e302..5c360349 100644 --- a/core/include/update.inc.php +++ b/core/include/update.inc.php @@ -888,6 +888,9 @@ if ($this->getData(['core', 'dataVersion']) < 11600) { if (file_exists('core/vendor/i18n/translation.js')) { unlink('core/vendor/i18n/translation.js'); } + // Langue de l'interface + $this->setData(['config', 'i18n', 'default', 'fr']); + // Mise à jour $this->setData(['core', 'dataVersion', 11600]); } diff --git a/core/module/install/ressource/defaultdata.php b/core/module/install/ressource/defaultdata.php index 0e423290..d334ac4b 100644 --- a/core/module/install/ressource/defaultdata.php +++ b/core/module/install/ressource/defaultdata.php @@ -42,6 +42,7 @@ class init extends common { 'redirectLogin' => true ], 'i18n' => [ + 'default' => 'fr', 'fr'=> 'none', 'de'=> 'none', 'en'=> 'none', @@ -52,7 +53,7 @@ class init extends common { ] ], 'core' => [ - 'dataVersion' => 11400, + 'dataVersion' => 11600, 'lastBackup' => 0, 'lastClearTmp' => 0, 'lastAutoUpdate' => 0,