Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to change locale

📅 2022-May-30 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ locale ⬩ 📚 Archive

Locale determines which language and encoding is used by your Linux system. If the wrong locale is chosen, you might see that the system messages or UI are in a foreign language or the character encoding has issues.

$ locale
LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Tried with: Ubuntu 22.04


© 2023 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon📧 Email