[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: GNU gettext & Etrax
> From: email@example.com
> [mailto:firstname.lastname@example.org] On Behalf Of Pieter Grimmerink
> Sent: den 15 mars 2004 16:51
> To: dev-etrax
> Subject: GNU gettext & Etrax
> Hi all,
> I've just found out that gettext does not work right away,
> haven't found out
> why yet.
> I've put my dutch .mo file in
> /usr/local/share/nl/LC_MESSAGES, this file was
Not /usr/local/share/locale/nl/LC_MESSAGES ?
> generated on an i686, but I assume that the format is architecture
It should be.
> In my software, I do:
> setenv("LANG" , "nl_NL", 1);
> setlocale(LC_ALL, "");
> bindtextdomain(PACKAGE, "/usr/local/share/locale");
> On my development system, this works fine, but on the Etrax
> it doesn't.
Exactly what doesn't work? Have you checked the return values from
setenv(), setlocale() bindtextdomain() and textdomain() to see if any of
the calls fail?