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.
Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).
You can also reconfigure the locales package using dpkg-reconfigure locales.
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago