mritch is correct.
you can also do it by:
#dpkg-reconfigure locales
choose your locale(s)
for example i choose all the en_US and the es_ES utf-8
in the next screen choose the one you want for your 'environment'
wait for to generate the locales and voilá
转载于:https://www.cnblogs.com/ljjphysics/archive/2012/04/19/2457406.html