How to fix broken locales in Raspberry Pi OS?

2021-02-12 Raspberry Pi OS

If you have some issue with seeing expected language both in command line as well as in GUI, don’t attempt to fix it by calling:

sudo raspi-config

Instead in your terminal open:

sudo vim /etc/default/locale

and ensure you have this exact content:

#  File generated by update-locale

Now, reboot your Raspberry with:

sudo shutdown -r now