Andre Poenitz wrote:

> On Fri, Feb 21, 2003 at 12:20:52PM +0000, Angus Leeming wrote:
>> ... and tell gettext to look in this dir by setting an environment
>> variable. (I forget which. Look at the source.)
> 
> setenv is only used in filetools.C by PutEnv. This in turn is only used by
> PutEnvPath, and this is never used?
> 
> how else can an env variable be set?


int main(int argc, char * argv[])
{
        os::init(&argc, &argv);

        // lyx_localedir is used by gettext_init() is we have
        //   i18n support built-in
        string lyx_localedir = GetEnvPath("LYX_LOCALEDIR");

Does setting this to lyx-build/po solve your problems?

-- 
Angus

Reply via email to