How to change default system locale in Ubuntu
Answer:
Edit the file "/etc/default/locale" to the locale you want.
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to change default system locale in Ubuntu
Answer:
Edit the file "/etc/default/locale" to the locale you want.
How to remove a locale in Ubuntu server
Answer:
In our previous post, we have discussed how to add a new locale. But once added, how to remove it?
You can do so using the --purge option, e.g.
# sudo locale-gen --purge en*
The above command remove all locales except the en* locale
How to add a locale to Ubuntu server
Answer:
Ubuntu server only come with very few installed locales by default, e.g.
# locale -a
C
en_AG
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NG
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
To add more, e.g. zh_TW, you can type
# sudo locale-gen zh_TW
Then you can verify using the command locale -a again.