Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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