To change language on linux terminal to English, run
export LC_ALL=C
or
export LC_ALL=en_US.UTF-8
Here i run a command on linux server with German language
root@kauz ~ # nmap localhost -bash: nmap: Kommando nicht gefunden. root@kauz ~ # export LC_ALL=C root@kauz ~ # nmap localhost -bash: nmap: command not found root@kauz ~ #
After running export LC_ALL=C, all command result will be displayed in English.
You can verify the language settings with locale command
root@kauz ~ # locale LANG=de_DE.UTF-8 LANGUAGE= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C root@kauz ~ #
Making Language Change permanent
To make language change permanant, you can edit
vi /etc/default/locale
Add
LANG="en_US" LANGUAGE="en_US:en"