I installed the latest GNU make to my windows machine.
The installer decided to setup the language as the OS language, which I did not get prompted for. I want it to be english. My OS is in swedish.
I remember I had similar problem with another GNU program (can’t recall which), which was solved by adding the env var “lang” with value “c”.
How can I switch the language of GNU make to english?
I am not aware of whether Windows has case sensitive environment variables, but I would expect GNU make to switch to completely switch to US English with
LANG=C. If that does not help, tryLC_ALL=C, or check whether there is alocalecommand in the mingw environment which could help show you the exact locale settings.If you set these environment variables from within the mingw bash shell, make sure that the shell exports those environment variables to the processes it starts (such ask
make). I.e. either set the values withexport FOO=barto begin with, or export them with a separateexport FOOafter having set them withFOO=bar.(I am presuming mingw behaves like a standard GNU environment when it comes to locales.)