0

I was experimenting with regional setting in KDE and it set UI language to Russian for me. Later I changed UI language back to English, but it still remained Russian in console.

How to change that?

Setting

LANGUAGE=en_US 

to .profile didn't help.

$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:ru
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=ru_RU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

How to fix?


(base) dimskraft@studebaker:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:ru
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME=ru_RU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
(base) dimskraft@studebaker:~$ cat /etc/default/locale
#  File generated by update-locale
LANG="en_US.UTF-8"
0

You need to edit /etc/default/locale. This command should do it:

sudo update-locale LANG=en_US.UTF-8

Then, after next reboot, the language should be English also in console.

| improve this answer | |
  • No, it didn't work. Apparently, KDE sets locale somewhen later. – Dims Jul 16 '19 at 7:01
  • @Dims: It does indeed, but I didn't think it did so for the console. Can you please run the command cat /etc/default/locale and show us what it outputs? – Gunnar Hjalmarsson Jul 16 '19 at 10:20
  • I did this already :) – Dims Jul 16 '19 at 10:21
  • @Dims: Oops. You did. Then I'm lost, unfortunately. – Gunnar Hjalmarsson Jul 16 '19 at 10:26
  • May be use colon, not dot? – Dims Jul 16 '19 at 10:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.