Skip to content

Instantly share code, notes, and snippets.

@mathie
Created July 15, 2009 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathie/147702 to your computer and use it in GitHub Desktop.
Save mathie/147702 to your computer and use it in GitHub Desktop.
Changing the locale on Ubuntu
ubuntu@domU-12-31-39-02-68-C2:~$ sudo vim /var/lib/locales/supported.d/local
ubuntu@domU-12-31-39-02-68-C2:~$ cat /var/lib/locales/supported.d/local
en_US ISO-8859-1
en_US.UTF-8 UTF-8
en_GB ISO-8859-1
en_GB.UTF-8 UTF-8
ubuntu@domU-12-31-39-02-68-C2:~$ sudo dpkg-reconfigure locales
Generating locales...
en_GB.ISO-8859-1... done
en_GB.UTF-8... done
en_US.ISO-8859-1... up-to-date
en_US.UTF-8... up-to-date
Generation complete.
ubuntu@domU-12-31-39-02-68-C2:~$ sudo update-locale LANG=en_GB.UTF-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment