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

Re: GNU gettext & Etrax



On Monday 15 March 2004 18:57, Pieter Grimmerink wrote:
> > >   setenv("LANG" , "nl_NL", 1);
> > >   setlocale(LC_ALL, "");
...
> setlocale(LC_ALL, "") fails (returns NULL pointer)

I guess it does that because nl_NL is not recognised as a valid locale.
On my system, there is a file nl_NL in
/usr/share/i18n/locale/
I suppose that file is required, but I don't know how the system knows where 
to find locale description files.

In fact I don't want to install all those locale descriptions, I just want to 
have several translations for my applicationtexts, and an easy way to select 
them.

Regards,

Pieter