On Mon, Oct 31, 2005 at 04:12:59PM +0100, Jan Niehusmann wrote: > On Sat, Oct 29, 2005 at 06:38:26PM +0200, Lionel Elie Mamane wrote:
>> [EMAIL PROTECTED]:~/.psi$ locale | egrep 'LANG|ALL|MES' >> LANG=fr_LU.UTF-8 >> LC_MESSAGES=en_GB.UTF-8 >> LC_ALL= >> but psi insists to communicate in French to me. It _must_ use English >> (unless it doesn't have an English-localised string for this >> particular message) when LC_MESSAGES is set to en_GB.UTF-8. The logic >> must be of the form: > A quick look at the source shows that psi just uses the last > language you selected within psi. I haven't found any language selection UI in psi. It would be somewhere in "Options", right? Can't find it. > So it doesn't care for the environment variables at all. That's unfortunate. These are the standard way to select the language on an Unixy system. > One exception may be the case that you didn't select a language before: > Then, psi calls the qt library function QTextCodec::locale(). I don't > know how that one interacts with the environment variables. > In any case, this doesn't look like a psi bug to me. If psi delegates the decision to "QTextCodec::locale()", either it is a "QTextCodec::locale()" bug or psi calls QTextCodec::locale() incorrectly or it doesn't do what psi thinks it does. -- Lionel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

