Quantcast
Viewing latest article 1
Browse Latest Browse All 18

Install a new locale on Ubuntu

new-locale.sh
# Show all available locales
locale -a
# Generate a new locale
locale-gen pt_BR.UTF-8
# reconfigures packages after they have already been installed
dpkg-reconfigure locales
# Updates the default language
update-locale LANG=pt_BR.UTF-8
# Query the value set in LANG
cat /etc/default/locale

Viewing latest article 1
Browse Latest Browse All 18

Trending Articles