Re: German translation

  • From: Marcus von Appen <mva@xxxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Fri, 27 Jan 2006 08:16:00 +0100

On, Fri Jan 27, 2006, tpgww@xxxxxxxxxxx wrote:

> On Thu, 26 Jan 2006 23:12:07 +0100
> Marcus von Appen <mva@xxxxxxxxxxxx> wrote:
> 
> > On, Thu Jan 26, 2006, Ronny Steiner wrote:
> > 
> > > Hi!
> > > 
> > > Thank you for your quick reply!
> > > I checked all you said --> o.k.
> > > ..searched the internet a while and found my problem:
> > > 
> > > I don't know why but if I change LC_CTYPE from de_DE to de_DE.UTF-8 it 
> > > works fine!
> > 
> > Sounds like emelfm does not set the locale here correctly in my opinion.
> > I did not recheck it in detail for now, but usually something like 
> > 
> >      setlocale (LC_ALL, "");
> >      bindtextdomain (PACKAGENAME, LOCALEDIR);
> >      textdomain (PACKAGENAME);
> >      bind_textdomain_codeset (PACKAGE, "UTF-8");
> > 
> > does the right thing (if the translations are in UTF-8). If I see that
> > correctly in e2_main.c, the last call for setting the encoding of the
> > translations does not exist. 
> In the above, did you deliberately distinguish between PACKAGE and
> PACKAGENAME ? If so, how does that affect the proposed patch ?

Sorry, I just forgot the NAME after the PACKAGE. Usually it will be
       bind_textdomain_codeset (PACKAGENAME, "UTF-8");
too.

Regards
Marcus

Other related posts: