bug-texinfo
[Top][All Lists]
Advanced

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

Re: Bug#113988: Bug#355367: debuild: Preserving locale settings can affe


From: Norbert Preining
Subject: Re: Bug#113988: Bug#355367: debuild: Preserving locale settings can affect build
Date: Wed, 8 Mar 2006 14:30:41 +0100
User-agent: Mutt/1.3.28i

Hi Sven, hi all!

On Mit, 08 Mär 2006, Sven Joachim wrote:
> When do you sleep, Norbert? ;-)

Debian is more important than sleep!!!

(THis was targeted to my Application Manager ;-)

Seriously, I am currently in Japan, +0900 from GMT, this might explain a bit ;-)

> 1) The header of the info files is in German:
> 
> Dies ist

fixed.

> 2) Error messages by makeinfo are printed in English, which I noticed by
>    running "makeinfo --html" from the lispref directory in the Emacs
>    sources.

Hmm, this is strange, very strange. Do you have some experience with
locales? What could be wrong with this function:
char *
getdocumenttext (const char *msgid)
{
  char *save_locale;
  char *s;
  save_locale = setlocale(LC_ALL, NULL);
  setlocale(LC_ALL, interface_language);
  s = gettext(msgid);
  setlocale(LC_ALL, save_locale);
  return(s);
}

First, do you have LC_ALL set?

It might be that if LC_ALL is not set, the second call to setlocale does
something what I didn't want to.

Can you try the following:
        LC_ALL=de_DE makeinfo ..whatevery you do...
and see if the error messages are still in english?

Thanks and all the best

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
MANKINHOLES (pl.n.)
The small holes in a loaf of bread which give rise to the momentary
suspicion that something may have made its home within.
                        --- Douglas Adams, The Meaning of Liff




reply via email to

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