r/archlinux • u/immortal192 • 7d ago
$LANG not being set SUPPORT | SOLVED
echo $LANG
results in an empty string despite following the wiki:
$ cat /etc/locale.conf
LANG=en_US.UTF-8
$ locale-gen # run from previous boot
Default shell: zsh, nothing appears to override them:
$ sudo grep -ir 'LANG=' /etc
/etc/profile.d/locale.sh:LANG=${LANG:-C.UTF-8}
/etc/locale.conf:LANG=en_US.UTF-8
$ grep -ir 'LANG=' ~/.zshenv "$ZDOTDIR" # no results
I suppose I can set it explicitly per $USER
but it shouldn't be needed, right?
3 Upvotes
3
u/backsideup 7d ago
Which shells are you using for login and as an interactive shell?