Ubuntu Locale
archlinux: systemd
$ systemctl --failed $ systemctl --all $ systemctl list-unit-files
FAQ
1. check which locales are supported: $ locale -a 2. add the locales you want (for example ru): $ sudo locale-gen ru_RU $ sudo locale-gen ru_RU.UTF-8 3. run this update comand $ sudo update-locale or $ sudo dpkg-reconfigure locales $ sudo dpkg-reconfigure tzdata
$ systemctl status
<E2><97><8F> ubuntu1
State: running
Jobs: 0 queued
Failed: 0 units
Since: Wed 2016-08-31 15:23:26 CEST; 21h ago
CGroup: /
<E2><94><9C><E2><94><80>1 /sbin/init
<E2><94><9C><E2><94><80>system.slice
[...]
# cat /etc/default/locale
LANG="en_US.UTF-8"
LANGUAGE="en_US:en"
# cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
$ locale
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=de_CH.UTF-8
LC_TIME=de_CH.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=de_CH.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=de_CH.UTF-8
LC_NAME=de_CH.UTF-8
LC_ADDRESS=de_CH.UTF-8
LC_TELEPHONE=de_CH.UTF-8
LC_MEASUREMENT=de_CH.UTF-8
LC_IDENTIFICATION=de_CH.UTF-8
LC_ALL=
# for y in $(locale | cut -d '=' -f 2| sort |uniq );do locale-gen $y; done
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales...
de_CH.UTF-8... done
Generation complete.
Generating locales...
en_US.UTF-8... done
Generation complete.
# dpkg-reconfigure locales
Generating locales...
de_CH.UTF-8... done
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... up-to-date
en_ZA.UTF-8... done
en_ZM.UTF-8... done
en_ZW.UTF-8... done
Generation complete.
# systemctl status
● ubuntu1
State: running
Jobs: 0 queued
Failed: 0 units
Since: Mit 2016-08-31 15:23:26 CEST; 21h ago
CGroup: /
├─1 /sbin/init
├─system.slice