直接修改locales.inc.php中中文可视调整为True即可:
[root@Zabbix-CentOS-35 ~]# cat /data/zabbix/include/locales.inc.php | grep -n "‘display‘"
50: ‘en_GB‘ => array(‘name‘ => _(‘English (en_GB)‘), ‘display‘ => true),
51: ‘en_US‘ => array(‘name‘ => _(‘English (en_US)‘), ‘display‘ => true),
52: ‘bg_BG‘ => array(‘name‘ => _(‘Bulgarian (bg_BG)‘), ‘display‘ => false),
53: ‘zh_CN‘ => array(‘name‘ => _(‘Chinese (zh_CN)‘), ‘display‘ => true),
54: ‘zh_TW‘ => array(‘name‘ => _(‘Chinese (zh_TW)‘), ‘display‘ => false),
55: ‘cs_CZ‘ => array(‘name‘ => _(‘Czech (cs_CZ)‘), ‘display‘ => false),
56: ‘nl_NL‘ => array(‘name‘ => _(‘Dutch (nl_NL)‘), ‘display‘ => false),
57: ‘fi_FI‘ => array(‘name‘ => _(‘Finnish (fi_FI)‘), ‘display‘ => false),
58: ‘fr_FR‘ => array(‘name‘ => _(‘French (fr_FR)‘), ‘display‘ => true),
59: ‘de_DE‘ => array(‘name‘ => _(‘German (de_DE)‘), ‘display‘ => false),
60: ‘el_GR‘ => array(‘name‘ => _(‘Greek (el_GR)‘), ‘display‘ => false),
61: ‘hu_HU‘ => array(‘name‘ => _(‘Hungarian (hu_HU)‘), ‘display‘ => false),
62: ‘id_ID‘ => array(‘name‘ => _(‘Indonesian (id_ID)‘), ‘display‘ => false),
63: ‘it_IT‘ => array(‘name‘ => _(‘Italian (it_IT)‘), ‘display‘ => true),
64: ‘ko_KR‘ => array(‘name‘ => _(‘Korean (ko_KR)‘), ‘display‘ => false),
65: ‘ja_JP‘ => array(‘name‘ => _(‘Japanese (ja_JP)‘), ‘display‘ => true),
66: ‘lv_LV‘ => array(‘name‘ => _(‘Latvian (lv_LV)‘), ‘display‘ => false),
67: ‘lt_LT‘ => array(‘name‘ => _(‘Lithuanian (lt_LT)‘), ‘display‘ => false),
68: ‘fa_IR‘ => array(‘name‘ => _(‘Persian (fa_IR)‘), ‘display‘ => false),
69: ‘pl_PL‘ => array(‘name‘ => _(‘Polish (pl_PL)‘), ‘display‘ => true),
70: ‘pt_BR‘ => array(‘name‘ => _(‘Portuguese (pt_BR)‘), ‘display‘ => true),
71: ‘pt_PT‘ => array(‘name‘ => _(‘Portuguese (pt_PT)‘), ‘display‘ => false),
72: ‘ro_RO‘ => array(‘name‘ => _(‘Romanian (ro_RO)‘), ‘display‘ => false),
73: ‘ru_RU‘ => array(‘name‘ => _(‘Russian (ru_RU)‘), ‘display‘ => true),
74: ‘sk_SK‘ => array(‘name‘ => _(‘Slovak (sk_SK)‘), ‘display‘ => true),
75: ‘es_ES‘ => array(‘name‘ => _(‘Spanish (es_ES)‘), ‘display‘ => false),
76: ‘sv_SE‘ => array(‘name‘ => _(‘Swedish (sv_SE)‘), ‘display‘ => false),
77: ‘tr_TR‘ => array(‘name‘ => _(‘Turkish (tr_TR)‘), ‘display‘ => false),
78: ‘uk_UA‘ => array(‘name‘ => _(‘Ukrainian (uk_UA)‘), ‘display‘ => false),
79: ‘vi_VN‘ => array(‘name‘ => _(‘Vietnamese (vi_VN)‘), ‘display‘ => false)
本文出自 “小郑技术博客” 博客,请务必保留此出处http://ko178.blog.51cto.com/220419/1529068
Zabbix-2.2.4,显示中文语言的选项方法,布布扣,bubuko.com
原文:http://ko178.blog.51cto.com/220419/1529068