From 8f6d63dc6dbe0e388f4adfe6fc75f1318685a58f Mon Sep 17 00:00:00 2001 From: nuxsmin Date: Fri, 21 Feb 2014 13:49:41 +0100 Subject: [PATCH] Fixed language selection Setting language to English did not take effect. --- inc/init.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/init.php b/inc/init.php index 05e8c596..42642869 100644 --- a/inc/init.php +++ b/inc/init.php @@ -413,6 +413,8 @@ class SP_Init { self::$LANG = ( $configLang ) ? $configLang : $browserLang; } + self::$LANG = self::$LANG.".utf8"; + putenv("LANG=".self::$LANG); setlocale(LC_MESSAGES, self::$LANG); setlocale(LC_ALL, self::$LANG);