lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev gettext troubles


From: Henry Nelson
Subject: Re: lynx-dev gettext troubles
Date: Wed, 22 Oct 2003 12:11:37 +0900 (JST)

> -I./intl
> -DHAVE_GETTEXT -DENABLE_NLS=1 -Dnl_catd=int    \
> -DGNULOCALEDIR=\"./po/\" -DLOCALEDIR=\"./po/\" \
> -DLOCALE_ALIAS_PATH=\"./\" -DPACKAGE=\"lynx\"  \
> -DHAVE_LIBGETTEXT_H -DHAVE_CATGETS       

I don't understand this syntax (looks like a manually-constructed
Makefile), but maybe you need to explicitly compile in the path
to your compiled catalogue file.  On Unix using the configure script,
that's done with the "--with-nls-datadir=" option.
                      ^^^^^^^^^^^^^^^^^^^
In your case "--with-nls-datadir=g:\MingW32\share".

> But GNU gettext is IMHO "a package from hell"! 

DITTO!!!!  (And practically all developers/packagers ram their favorite
version of it down your throat.)

> 1. set $LANG=da  (because the no.po file is so incomplete)

Probably okay.

> 2. set $LYNX_LOCALEDIR=g:\MingW32\share\locale

I don't know what this is.  If $LYNX_LOCALEDIR is what is set by
--with-nls-datadir, then try removing the final "\locale".
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 3. Built the ./po/*mo files and copied 'po/da.mo' to 
>   g:\MingW32\share\locale\da\LC_MESSAGES\lynx.mo

Looks good.

> be wrong? How do I debug the gettext stuff?

Dextrous fingers?  (like for picking lice out of matted hair)

Good luck.

__Henry

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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