All of a sudden, my wget installation started talking to me in Italian (when I do --help or in other interactions). I can understand it, but I have everything set in English and I'd prefer to keep that language. Any idea what's going on.
I'm under macOS 10.13.4 and I've wget 1.19.5 installed via Homebrew.
The problem occurs only with a couple of admin users, when I run it under my regular user, it keeps speaking English.
locale
output seems fine.
Answering myself: As Basile Starynkevitch suggested, I used the printenv
command to see that the LANG variable is unset and that Italian is taken as default in such a case. so I just put export LANG=en_GB.UTF-8
in my /etc/profile
(actually in a script under /etc/profile.d
). I've no idea why all of a sudden it takes such a default. My system is configured as English with Italian keyboard layout.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With