码迷,mamicode.com
首页 > 其他好文 > 详细

Zabbix-2.2.4,显示中文语言的选项方法

时间:2014-07-24 14:50:56      阅读:296      评论:0      收藏:0      [点我收藏+]

标签:include   english   chinese   display   false zabbix   

直接修改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

Zabbix-2.2.4,显示中文语言的选项方法

标签:include   english   chinese   display   false zabbix   

原文地址:http://ko178.blog.51cto.com/220419/1529068

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!