Language
perl: warning: Falling back to a fallback locale (“C.UTF-8”).
1 |
sudo apt-get install locales-all |
1 |
dpkg-reconfigure locales |
On a Linux server, if the language is different, you can change it to English for the current session by running
1 |
export LC_ALL=C |
Example
1 2 3 4 5 6 |
root@root1229:~# ll -bash: ll: Kommando nicht gefunden. root@root1229:~# export LC_ALL=C root@root1229:~# ll -bash: ll: command not found root@root1229:~# |
See current language
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
root@hestia-lnx:~# locale LANG=fr_FR.UTF-8 LANGUAGE= LC_CTYPE="fr_FR.UTF-8" LC_NUMERIC="fr_FR.UTF-8" LC_TIME="fr_FR.UTF-8" LC_COLLATE="fr_FR.UTF-8" LC_MONETARY="fr_FR.UTF-8" LC_MESSAGES="fr_FR.UTF-8" LC_PAPER="fr_FR.UTF-8" LC_NAME="fr_FR.UTF-8" LC_ADDRESS="fr_FR.UTF-8" LC_TELEPHONE="fr_FR.UTF-8" LC_MEASUREMENT="fr_FR.UTF-8" LC_IDENTIFICATION="fr_FR.UTF-8" LC_ALL= root@hestia-lnx:~# |
List Available Languages
1 2 3 4 5 |
root@hestia-lnx:~# localectl list-locales C.UTF-8 en_US.utf8 fr_FR.utf8 root@hestia-lnx:~# |
Change langauage
1 |
localectl set-locale LANG=en_US.UTF-8 |