You are not able to choose some of the languages,because locales for them are not installed on the web server.
解决:
安装zh_CN语言包
dnf install langpacks-zh_CN.noarch
安装glibc-common
实现对语言包的识别
dnf install glibc-common
如果已安装过,需要重新安装
dnf reinstall glibc-common
测试安装是否成功,如果看到zh_CN
语言已安装,则表示成功
locale -a | grep zh_CN
但是切换到中文后,图表界面出现乱码:
需要手动上传本地Windows的字体(如微软雅黑)到Zabbix服务器的/usr/share/zabbix/assets/fonts/
cd /usr/share/zabbix/assets/fonts
mv graphfont.ttf graphfont.ttf.backup
ln -s msyh.ttf graphfont.ttf