Andre Poenitz <[EMAIL PROTECTED]> writes:

>> - Use QLocale::something. I am wary of using a different algorithm
>>   than the one used by gettext. Here is query gettext to know what
>>   language has been used. This seems rather robust.
>
> I seem to have difficulties to parse that.

gettext uses some somewhat complicated algorithm to decide what the
interface language is. I would be surprised if Qt used exactly the
same on all platforms (respect the LC_ALL env. variable if set on
windows?).

Therefore, I prefer my patch, since it is straightforward and robust
to this kind of thing.

JMarc

Reply via email to