break;
}
if (!empty($cfg[$t]) && is_array($cfg[$t])) {
- // then there is a filter.
+ // then there is a filter. - we should include all of them, even if they are not relivatn??
return $cfg[$t]; //array_intersect($cfg[$t], $ret);
}
$ret = $cache[$lang][$type]->getName($k);
}
- if ($orig_lang == 'zh_HK') {
+ if ($orig_lang == 'zh_HK' || $orig_lang == 'zh_TW' ) {
// then translation is by default in simplified.
//print_r($ret);
$ret = @iconv("UTF-8", "GB2312//IGNORE", $ret);