# Русификация Zabbix

## Версія 1

Посмотрите какие локали вам доступны в centos 8

```
# localectl list-locales
```

Посмотрите какая текущая Locale

```
# localectl
System Locale: LANG=en_US.UTF-8
VC Keymap: us
X11 Layout: us
```

Далее командой ниже ставим русс яз

```
# dnf install glibc-langpack-ru
```

После этого перезагружаем сервер.

Готово

## Версія 2

В настройках при попытке сменить язык на русский выпадает ошибка:

*«You are not able to choose some of the languages, because locales for them are not installed on the web server.»*

Смотрим какие какие локали установлены в ОС (на linux):

```
locale -a
```

Смотрим относительно русского:

```
# cat /usr/share/i18n/SUPPORTED | grep ru_
ru_RU.KOI8-R KOI8-R
ru_RU.UTF-8 UTF-8
ru_RU ISO-8859-5
ru_RU.CP1251 CP1251
ru_UA.UTF-8 UTF-8
ru_UA KOI8-U
```

Видно какие локали доступы, ставим нужное:

```
# locale-gen ru_RU
Generating locales…
ru_RU.ISO-8859-5… done
Generation complete.
```

Далее:

```
# locale-gen ru_RU.UTF8
# dpkg-reconfigure locales
Generating locales…
en_AG.UTF-8… done
en_AU.UTF-8… done
en_BW.UTF-8… done
en_CA.UTF-8… done
en_DK.UTF-8… done
en_GB.UTF-8… done
en_HK.UTF-8… done
en_IE.UTF-8… done
en_IN.UTF-8… done
en_NG.UTF-8… done
en_NZ.UTF-8… done
en_PH.UTF-8… done
en_SG.UTF-8… done
en_US.UTF-8… done
en_ZA.UTF-8… done
en_ZM.UTF-8… done
en_ZW.UTF-8… done
ru_RU.ISO-8859-5… up-to-date
Generation complete.
```

Перезагружаем сервис:

```
# service apache2 restart
```

Далее переходим в профиль-настройки-выбираем Russian (ru\_RU)

\
Источник — [Русификация системы мониторинга Zabbix](https://www.ekzorchik.ru/2015/09/russification-zabbix-system/)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://vsydorenko.gitbook.io/sysadminisnotes/zabbix/rusifikaciya-zabbix.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
