Take the 2-minute tour ×

I accidentally add a locale, e.g. sudo locale-gen zh_TW

e.g. locale -a


But how to remove it?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
add comment

You can also reconfigure the locales package using dpkg-reconfigure locales.

share|improve this answer
add comment

Your Answer


