Technical articles
1, zabbix5.0
系统安装后,web界面不能选择使用中文
系统提示:
You are not able to choose some of the languages, because locales for them are not installed on the web server.
截图:
2,解决问题:手动安装中文语言包:
安装zh_CN语言包
[root@blog include]# dnf install langpacks-zh_CN.noarch
安装glibc-common实现对语言包的识别:
[root@blog include]# dnf install glibc-common
说明;如果已安装过,需要重新安装,用reinstall
[root@blog include]# dnf reinstall glibc-common
因为需要让它识别已安装的语言包
测试安装是否成功?
[root@blog dejavu]# locale -a | grep zh_CN zh_CN zh_CN.gb18030 zh_CN.gbk zh_CN.utf8
如果看到zh_CN语言已安装,表示成功
3,安装完成后,回到web页面,刷新
可以看到中文语言已可以选中
截图:
点击"update"按钮后会自动切换成中文界面