1Qt looks only at the LANG value and ignores LC_MESSAGES and LC_ALL. (Bug in 2function QTextCodec::locale().) Therefore, to make it work, you have to set 3LANG to the same value as LC_ALL or LC_MESSAGES. 4