diff --git a/src/Pluf/Translation.php b/src/Pluf/Translation.php index c91ad16..7ce37de 100644 --- a/src/Pluf/Translation.php +++ b/src/Pluf/Translation.php @@ -55,9 +55,7 @@ class Pluf_Translation public static function loadSetLocale($lang) { $GLOBALS['_PX_current_locale'] = $lang; - setlocale(LC_TIME, array($lang, - $lang.'_'.strtoupper($lang), - $lang.'.UTF-8', + setlocale(LC_TIME, array($lang.'.UTF-8', $lang.'_'.strtoupper($lang).'.UTF-8')); if (isset($GLOBALS['_PX_locale'][$lang])) { return; // We consider that it was already loaded.