Locale

Locale

Установка локализации

dpkg-reconfigure locales

Вывод списка установленных локалей

locale -a

Проверка

locale

Ошибки

1

Проблема

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Исправление

dpkg-reconfigure locales

localedef ru_RU.UTF-8 -i ru_RU -f UTF-8

localedef -i ru_RU -c -f UTF-8 ru_RU.UTF-8

update-locale LANG=ru_RU.UTF-8 LC_MESSAGES=POSIX

2

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: ?????????? ?????????? LC_ALL ? ?????? ?? ?????????.: ??? ?????? ????? ??? ????????