$LANG variable
How do i set the $LANG variable without using export? I have set my locale.conf to LANG=en_US.UTF-8 but LANG is still always set to en_US which is not valid. I'd prefer not to use .bashrc or /etc/. Thanks in advance!
Syndicated from the fediverse. Read and engage on the original instance.
View original on iusearchlinux.fyiHow do i set the $LANG variable without using export? I have set my locale.conf to LANG=en_US.UTF-8 but LANG is still always set to en_US which is not valid. I'd prefer not to use .bashrc or /etc/. Thanks in advance!
8 replies
localectl set-locale LANG=en_US.UTF-8
I've solved it by running g
eselect locale set xwith x being the locale. Thanks for your contribution.Nevermind somehow it was set back
It is OK 👍
https://wiki.gentoo.org/wiki/Localization/Guide
This has solved it ultimately.
Why no export, bashrc, or /etc ?
If something else is setting it as en_US, then I don't want a conflict.