locales
List generated locales
_$: locale -a
Check supported locales
_$: ls -la /var/lib/locales/supported.d/
Check default locale
_$: cat /etc/default/locale
Change default locale
_$: sudo update-locale LANG=en_US.UTF-8
Generate locales
_$: sudo locale-gen pt_BR
_$: sudo locale-gen pt_BR.UTF-8
Reconfigure locales
_$: sudo dpkg-reconfigure locales