How do I change the language of the console permanently?
Is there a way I can change the language of the console? I have seen things such as adding LANG=C
in front of the commands but that is a temporary fix.
I can live with the Turkish console but when it comes to man
and help
commands it drives me nuts. I do not understand the Turkish terms used.
Solution 1:
Run the following command to save it in your ~/.bashrc
file so that every time you open an interactive non-login terminal your locale
will be set accordingly:
echo 'export LANG=C' >> ~/.bashrc
Note that the C
locale uses an ASCII character set, if you want Unicode then use a locale
that supports it e.g.:
echo 'export LANG=en_US.UTF-8' >> ~/.bashrc
To make changes available from the running session, source
the ~/.bashrc
file:
source ~/.bashrc