I accidentally add a locale, e.g. sudo locale-gen zh_TW
e.g. locale -a
But how to remove it?
I think you can do this by editing /var/lib/locales/supported.d/local and removing that locale. Then run locale-gen to regenerate the compiled locales.
You can also reconfigure the locales package using dpkg-reconfigure locales.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
3 years ago