Change language in Ubuntu server
My server is hosted by a french company (dedibox) and the default locale was set in french. It drives me crazy because I’m used to english.
Changing the locale is easy as pie but you’ll have to reboot your server.
Check the supported locales
Edit /var/lib/locales/supported.d/local
and check wether the lines en_GB.UTF-8 UTF-8
or en_US.UTF-8 UTF-8
are present.
Regenerate the locales
sudo dpkg-reconfigure locales
Change the default locales
Edit /etc/environment
and change LANG
by the appropriate value: en_BG.UTF-8
if you want british english.
Do the same in /etc/default/locale
Reboot your server
sudo reboot