The objective of this tutorial is to change system's language from a command line on Ubuntu 20.04 Focal Fossa Server.

In this tutorial you will learn:
  • How to check system language settings
  • How to set new system language from command line
Change system language on Ubuntu 20.04 from command line
Change system language on Ubuntu 20.04 from command line

Software Requirements and Conventions Used

Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa
Software N/A
Other Privileged access to your Linux system as root or via the sudo command.
Conventions # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
$ - requires given linux commands to be executed as a regular non-privileged user

Change system language on Ubuntu 20.04 from command line step by step instructions

  1. First step is to check the current system language settings. To do so execute the locale command with no arguments:
    $ locale
    
    Check the current system language settings
    Check the current system language settings using locale command.
  2. Reconfigure, the current system language settings. To do so execute the bellow dpkg-reconfigure command:
    $ sudo dpkg-reconfigure
    
    Re-configuring current locales language settings
    Re-configuring current locales language settings
    DID YOU KNOW?
    The systemd specific command to change system language is localectl which allows for more configuration options. However, in this case using dpkg-reconfigure is 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 localectl for more information.

  3. SUBSCRIBE TO NEWSLETTER
    Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.




  4. Next, select your desired system language.
    Select system language
    Select system language from the menu using navigational arrows and SPACE. Once ready move to OK and press ENTER


  5.  primary language for the entire system
    Select which language you wish to use as primary language for the entire system.
  6. Log out and log in to confirm your selection by execution the locales command.

    Check new language settings
    Check new language settings
FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions