mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-19 06:46:49 +01:00
Fixed language selection
Setting language to English did not take effect.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user