@Bug fix: term name translated text for cjk languages
-
[Moderator note: Topic title de-capped. Please do not shout at us.]
code in mqtranslate_wphacks.php:
function qtrans_modifyTermFormFor($term) {
qtrans_modifyTermForm(‘name’, __(‘Name’), $term);
qtrans_modifyTermForm(‘tag-name’, __(‘Name’), $term);
}
the code above is ok for English.but if current language is CJK(chinese/korean/japanese), the string shown is not correct.
for example, in Chinese, name of a term shoud be called “名称”, but with the code above, term name will be “姓名”.(The last word always for people).so, i did some fix:
qtrans_modifyTermForm( ‘name’, _x( ‘Name’, ‘term name’ ), $term );
qtrans_modifyTermForm( ‘tag-name’, _x( ‘Name’, ‘term name’ ), $term );and, also reported to qinqian, but got no response:
http://ww.wp.xz.cn/support/topic/qtrans_modifytermformfor%E5%87%BD%E6%95%B0%E5%AF%BC%E8%87%B4%E7%9A%84%E7%BF%BB%E8%AF%91%E9%94%99%E8%AF%AF?replies=1#post-5476589
The topic ‘@Bug fix: term name translated text for cjk languages’ is closed to new replies.