mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-03-01 10:31:47 +00:00
Update with 正體中文 (Chinese traditional), thx Mike Hsiao
This commit is contained in:
@@ -33,7 +33,11 @@ if (empty($_SESSION['locale']) && strlen($_SERVER['HTTP_ACCEPT_LANGUAGE']) >= 2)
|
||||
$locale = "nl_NL.UTF-8";
|
||||
break;
|
||||
case "zh":
|
||||
$locale = "zh_CN.UTF-8";
|
||||
if ($_SERVER['HTTP_ACCEPT_LANGUAGE'] == 'zh_TW') {
|
||||
$locale = "zh_TW.UTF-8";
|
||||
} else {
|
||||
$locale = "zh_CN.UTF-8";
|
||||
}
|
||||
break;
|
||||
case "cs":
|
||||
$locale = "cs_CZ.UTF-8";
|
||||
|
||||
@@ -107,6 +107,7 @@ function DisplaySystem()
|
||||
$arrLocales = array(
|
||||
'en_GB.UTF-8' => 'English',
|
||||
'cs_CZ.UTF-8' => 'Čeština',
|
||||
'zh_TW.UTF-8' => '正體中文 (Chinese traditional)',
|
||||
'zh_CN.UTF-8' => '简体中文 (Chinese simplified)',
|
||||
'da_DK.UTF-8' => 'Dansk',
|
||||
'de_DE.UTF-8' => 'Deutsch',
|
||||
|
||||
Reference in New Issue
Block a user