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
本文介绍如何将Ubuntu服务器的语言从默认的法语更改为英语。包括检查支持的语言、生成新的语言环境、更改默认语言等步骤。

被折叠的 条评论
为什么被折叠?



