--enable-nls doesn't work as expected

niXman i.nixman@autistici.org
Fri Jan 5 11:05:04 GMT 2024


hello,

in my MinGW-builds (https://github.com/niXman/mingw-builds) projects I 
use `--disable-nls` by default and all works as expected.

but I received a request to enable NLS support: 
https://github.com/niXman/mingw-builds/issues/666

the problem is when using `--enable-nls` the built compiler outputs 
messages for the `gcc` or `gcc -v` or `gcc --help` commands in the 
language of the user's locale (in this case Chinese), but the error 
messages it still outputs in English: 
https://github.com/niXman/mingw-builds/issues/666#issuecomment-1878064389

any ideas?



best!


More information about the Gcc-help mailing list