[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r11797 - trunk/subversion/svnserve

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-11-15 20:39:16 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.