From: moodler Date: Thu, 27 Feb 2003 12:15:00 +0000 (+0000) Subject: Add support for Taiwan Chinese X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=45930f2db56a4c2cc00f76fea54f1b46360980d1;p=moodle.git Add support for Taiwan Chinese --- diff --git a/admin/lang.php b/admin/lang.php index 0b3518d915..2a416d0bb7 100644 --- a/admin/lang.php +++ b/admin/lang.php @@ -257,7 +257,7 @@ function lang_save_file($path, $file, $strings) { foreach ($strings as $key => $value) { list($id, $stringname) = explode("-",$key); - if ($CFG->lang != "zh_hk") { // Some MB languages include backslash bytes + if ($CFG->lang != "zh_hk" and $CFG->lang != "zh_tw") { // Some MB languages include backslash bytes $value = str_replace("\\","",$value); // Delete all slashes } $value = str_replace("$"."a", "\\$"."a", $value); // Add slashes for $a