1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

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

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;