Lionel Elie Mamane skrev:
Anyway, it works fine for me, but I run 32-bit.I can reproduce this bug in my 32bit chroot. When you say "it works for me", are all of the following conditions met? - /etc/locale.gen contains support for at least two languages A and B. - with LC_MESSAGES=A, LANG=B and LC_ALL unset, winecfg is in A - with LC_MESSAGES=B, LANG=A and LC_ALL unset, winecfg is in B (in my case A=en_GB.UTF-8 and B=fr_LU.UTF-8)
Yes.I've just set up an amd64 partition to test on, and it also works fine there, apparently. My LANG is normally set to nb_NO.UTF-8. If I do:
$ LC_MESSAGES=sv_SE.UTF-8 winecfgit talks Swedish, as expected. Also works with fr_FR.UTF-8, en_US.UTF-8, etc.
Well, I just noticed that it seems it doesn't work with en_GB.UTF-8. Looks like winecfg's localized resources are inadvertently only defined for en_US, not for en_*, causing a fallback. I guess that's a bug, but it's not that LC_MESSAGES isn't respected. Just that en_US is the only English language winecfg knows...