Update with 正體中文 (Chinese traditional), thx Mike Hsiao

This commit is contained in:
billz
2020-04-15 09:37:08 +01:00
parent 6cdbb05998
commit 486425d389
5 changed files with 743 additions and 1 deletions

View File

@@ -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";

View File

@@ -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',