cap_mkdb ~/.login_conf
afterwards.russian|Russian Users Accounts:\
:charset=UTF-8:\
:lang=ru_RU.UTF-8:\
:tc=default:
cap_mkdb /etc/login.conf
run.(with LightDM) using .xprofil:LightDM.
LANG="fr_FR.UTF-8"; export LANG
LC_ALL="fr_FR.UTF-8"; export LC_ALL
MM_CHARSET="fr_FR.UTF-8"; export MM_CHARSET
There is an typo, it should be ~/.xprofile . Setting(with LightDM) using .xprofil:
export LANG=ru_RU.UTF-8
is sufficient.Exec=lightdm-gtk-greeter
to
Exec=env LANGUAGE=ru lightdm-gtk-greeter
LC_ALL is an environment variable that overrides all of these. It is typically used in scripts that run particular programs. For example, configure scripts generated by GNU autoconf use LC_ALL to make sure that the configuration tests don’t operate in locale dependent ways.
Some systems, unfortunately, set LC_ALL in /etc/profile or in similar initialization files. As a user, you therefore have to unset this variable if you want to set LANG and optionally some of the other LC_xxx variables.