14 Додаткові мови інтерфейсу
Огляд
Щоб використовувати будь-яку іншу мову, окрім англійської, у веб-інтерфейсі Zabbix, її локаль повинна бути встановлена на веб-сервері. Крім того, для роботи перекладів потрібне розширення PHP gettext.
Installing locales
To list all installed languages, run:
locale -a
If some languages that are needed are not listed, open the /etc/locale.gen file and uncomment the required locales. Since Zabbix uses UTF-8 encoding, you need to select locales with UTF-8 charset.
Now, run:
locale-gen
Restart the web server.
The locales should now be installed. It may be required to reload Zabbix frontend page in browser using Ctrl + F5 for new languages to appear.
Встановлення Zabbix
Якщо Zabbix встановлюється безпосередньо з git-сховища Zabbix, файли перекладу слід створити вручну. Щоб створити файли перекладу, запустіть:
зробити gettext
locale/make_mo.sh
Цей крок не потрібен, якщо Zabbix встановлюється з пакетів або вихідних файлів tar.gz.
Selecting a language
There are several ways to select a language in Zabbix web interface:
- When installing web interface - in the frontend installation wizard. Selected language will be set as system default.
- After the installation, system default language can be changed in the Administration→General→GUI menu section.
- Language for a particular user can be changed in the user profile.
If a locale for a language is not installed on the machine, this language will be greyed out in Zabbix language selector. A red icon is displayed next to the language selector if at least one locale is missing. Upon pressing on this icon the following message will be displayed: "You are not able to choose some of the languages, because locales for them are not installed on the web server."
