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

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

Re: Bug#114461: gettext: there is no way to control where message catalo


From: Bruno Haible
Subject: Re: Bug#114461: gettext: there is no way to control where message catalogs are found at run time (fwd)
Date: Tue, 11 Jun 2002 21:18:29 +0200 (CEST)

Zack Weinberg wrote:
> Unlike all other aspects of locale information, message catalogs are
> found only in the location compiled into the binary.  Environment
> variables such as LOCPATH do not affect the search.
> 
> The gettext command honors a TEXTDOMAINDIR environment variable, but
> nothing else does.  It would be best, in my opinion, if LOCPATH worked
> as it does for other locale information.

It is for practical reasons: Most people rarely install locales, but
sometimes install new packages. They would tend to set the LOCPATH
environment variables to include all the directories where they have
installed packages, like /usr/local, /opt/kde, etc. Since LOCPATH
applies affects the startup time of all programs, in would quite
significantly affect the performance of the system. For these reasons,
it's better to keep LOCPATH and TEXTDOMAINDIR separate.

Bruno



reply via email to

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