System
LANG
Default locale for language and character encoding.
Ubuntu
Debian
Arch
Fedora
CentOS
SUSE
Alpine
macOS
FreeBSD
Verified: 2026-05-12
Syntax
$echo $LANG
Examples
$echo $LANG
$export LANG=de_DE.UTF-8
Typical use cases
?
Standard usage
LANG --help
Note
Affects date formatting, sorting, and localized output.
Export