Linux
Where Is the System Locale Set on Linux?
Linux locale config: /etc/locale.conf, Debian /etc/default/locale and the localectl command.
Last updated
System locale resolves through /etc/locale.conf on systemd systems, with /etc/default/locale serving Debian-likes. localectl manages both plus keymaps.
User sessions can override via shell profiles. System files set defaults; per-user exports win at login.
Where Linux stores this, by platform
Linux
/etc/locale.conf
Holds LANG and related variables. Debian family mirrors in /etc/default/locale. Prefer localectl set-locale over hand edits.
Frequently asked questions
How do I change the system locale?
Run localectl set-locale LANG=en_US.UTF-8 (with your locale). It updates the config files consistently; log out and back in for full effect.
Notice an outdated path? Let us know.