[vdr] [ANNOUNCE] VDR developer version 1.5.7
Luca Olivetti
luca at ventoso.org
Sun Aug 19 15:40:51 CEST 2007
En/na Klaus Schmidinger ha escrit:
>>
>> It seems that it *does* work, i.e. LANGUAGE=de, LANGUAGE=fr, LANGUAGE=fi
>> will work even if there is no such locale at all.
>>
>> I copied a .mo file into /usr/share/locale/testtest/LC_MESSAGES/, which
>> certainly is not a valid locale, and using LANGUAGE=testtest it was
>> correctly used! :)
>
> Looks good. However, after some tests it would appear as if only the
> very first setenv() call actually changes anything. Subsequent calls
> have no further effect, and gettext() always returns the language
> that was selected in the very first call to setenv().
Did you try calling bindtextdomain again after calling setenv?
Bye
--
Luca
More information about the vdr
mailing list