Skip to content

How to change the locale in Linux (using command line)

To display all currently available locales (so that you don’t pick one you don’t have… :D): locale -a.
To display the current locale: locale

To change the current locale, edit /etc/environment (so, nano /etc/environment) and add/edit, for instance:

Note that this is case sensitive. And you need to restart the system in order for the changes to take effect. Well, that’s pretty much it already.

For finer tuning and (lots) more details, see Changing your locale on UNIX and Linux systems.

Posted in multimedia.

0 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Some HTML is OK

or, reply to this post via trackback.

Please solve the CAPTCHA below in order to fight spamWordPress CAPTCHA