bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the locale directory


From: Jean-Marc Lasgouttes
Subject: Re: Changing the locale directory
Date: Wed, 14 Jan 2004 16:12:00 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (berkeley-unix)

>>>>> "Bruno" == Bruno Haible <address@hidden> writes:

Bruno> Jean-Marc Lasgouttes wrote:
>> I have a program (www.lyx.org) in which I would like to change the
>> locale directory twice: bindtextdomain is called first at main()
>> time to set the locale directory to its hardcoded value; it is
>> invoked again later once the directory from which is running has
>> been investigated.

Bruno> Should work. bindtextdomain() supports multiple calls for the
Bruno> same domain.

It does indeed work. The mistake was on my side...

>> (the idea is to allow binary distributions to be relocatable)

Bruno> gettext already has an option --enable-relocatable to produce
Bruno> relocatable binary distributions. You might want to look how it
Bruno> works. 

Wow! I did not know about this and it looks indeed very intriguing.
Thanks for pointing to it.

On a different topic: are .gmo files produced by GNU msgfmt compatible
between gettext releases?

Thank you very much for your quick reply.

JMarc




reply via email to

[Prev in Thread] Current Thread [Next in Thread]