I accidentally add a locale, e.g. sudo locale-gen zh\_TW

e.g. locale -a

```
zh_TW

```

But how to remove it?
['https://serverfault.com/questions/394610', 'https://serverfault.com', 'https://serverfault.com/users/50774/']
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`.