diff --git a/config.php b/config.php index 05cbf56407cba4ed7a2b316bc83b949e0e989f3a..42cefed89ffa1eaceace08a8afd50ba3761f91d4 100644 --- a/config.php +++ b/config.php @@ -43,7 +43,7 @@ $availableLanguages = ], 'en' => [ 'name' => 'english', - 'folder' => 'fr_FR' + 'folder' => 'en_GB' ], 'es' => [ 'name' => 'espaƱol', diff --git a/foot.php b/foot.php index 3a6eec93c301d659f95db5568e722671ae17474c..4b50e4410d70dfb20597609ccb2f6057aa8bd41c 100644 --- a/foot.php +++ b/foot.php @@ -130,7 +130,7 @@ textdomain('menu'); </li>'; } - putenv('LC_ALL='. LOCALE_CODE); + putenv('LC_ALL='. LANG_FOLDER); setlocale(LC_ALL, LOCALE_CODE); ?> </ul> diff --git a/index.php b/index.php index 37769f6be92c06fb7e3a5c7652cbbb2a0712d995..ff3a9247c881b4d75fc45c0eb8ae177beb877654 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ include('config.php'); defineLang(); -putenv('LC_ALL='. LOCALE_CODE); +putenv('LC_ALL='. LANG_FOLDER); setlocale(LC_ALL, LOCALE_CODE); textdomain("menu");