Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wget doesn't speak english anymore

Tags:

wget

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.

like image 241
zakmck Avatar asked Jun 03 '18 17:06

zakmck


1 Answers

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.

like image 141
zakmck Avatar answered Oct 26 '22 08:10

zakmck