In this tutorial you will learn:
- How to check system language settings
- How to set new system language from command line
Software Requirements and Conventions Used
|Category||Requirements, Conventions or Software Version Used|
|System||Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa|
|Other||Privileged access to your Linux system as root or via the
# - requires given linux commands to be executed with root privileges either directly as a root user or by use of
Change system language on Ubuntu 20.04 from command line step by step instructions
- First step is to check the current system language settings. To do so execute the
localecommand with no arguments:
- Reconfigure, the current system language settings. To do so execute the bellow
$ sudo dpkg-reconfigure
DID YOU KNOW?
The systemd specific command to change system language is
localectlwhich allows for more configuration options. However, in this case using
dpkg-reconfigureis easier as it also automatically downloads the required language pack and directly provides the user with an option to set new system language in one go. In any case it is worth to check the
man localectlfor more information.
Next, select your desired system language.
- Log out and log in to confirm your selection by execution the