Added locale support for Chinese simplified, thanks @BANKA2017

This commit is contained in:
billz 2018-10-17 15:51:27 +00:00
parent 8ff5c045f4
commit 5e374f3b84
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
case "nl":
$locale = "nl_NL.UTF-8";
break;
case "zh":
$locale = "zh_CN.UTF-8";
break;
default:
$locale = "en_GB.UTF-8";
break;