When Debian does not appear in the desired language and does not sync the clock

On occasion, when installing some Debian images, the language selection may not work correctly. Choosing the Galician language (gl_ES.UTF-8), the system might start in English with all the folders also in English instead of in Galician. Here’s how to fix this so that the desired language appears:

sudo apt install locales

sudo dpkg-reconfigure locales

sudo reboot

sudo locale-gen gl_ES.UTF-8

sudo localectl set-locale LANG=gl_ES.UTF-8

Exit root and switch to the user you regularly use. From there, reconfigure the folder names in /home/user:

xdg-user-dirs-update --force

In case you are using the Plasma desktop, this may still not resolve the issue. To fix this, edit the following file for each user you employ:

nano ~/.config/plasma-localerc

It should look like this:

[Formats]
LANG=gl_ES.UTF-8

To synchronize the time:

sudo apt install systemd-timesyncd

Check that the service is active:

sudo timedatectl status

 

Scroll to Top