Peter N. Lundblad wrote:
>On Mon, 15 Nov 2004, [UTF-8] Branko �^Libej wrote:
>
>
>
>>Peter N. Lundblad wrote:
>>
>>
>>
>>>Hmmm, what's available on that platform then? I thought LC_MESSAGES was
>>>part of ISO C, but I haven't got that standard. Do you have any
>>>suggestions?
>>>
>>>
>>>
>>>
>>LC_MESSAGES is POSIX. The C standard mentions LC_ALL, LC_COLLATE,
>>LC_CTYPE, LC_MONETARY, LC_NUMERIC and LC_CTYPE.
>>
>>
>>
>Sigh.
>
>
>
>>>That was a simple one-liner:-(
>>>
>>>
>>>
>>>
>>Yah. How about bindtextdomain("")?
>>
>>
>>
>I don't udnerstand. Do you mean bindtextdomain(PACKAGE_NAME, "")? I don't
>know if this is portable, or even works. Or do you mean settextdomain("")?
>This doesn't work, since we use dgettext in the libraries.
>
>
No, I meant bindtextdomain("", path); That is, use a nonexistent package
name. If my guess is correct, gettext won't find the .mo file and will
therefore return the default (English) messages.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 15 20:40:33 2004