mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] German date in title?


Chronological Thread 
  • From: Joris van der Hoeven <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] German date in title?
  • Date: Thu, 31 Jan 2008 18:01:52 +0100

On Tue, Jan 29, 2008 at 08:09:46AM +0100, Marten Bauer wrote:
> Hallo Joris,
>
> I tried the following in a console
>
> ~>date +"%B"
> Januar
> ~>echo $LANG
> de_DE.UTF-8
> ~>export LANG=de_DE
> ~>date +"%B"
> January
> ~>
>
> When I change from de_DE.UTF-8 to de_DE the date is
> printed in english. But I do not understand why?
>
> Can I change the LANG to de_DE.UTF-8 somewhere in
> texmacs sourcecode? I use TeXmacs 1.0.6.12 on Ubuntu Gutsy 7.10.

Sure, it suffices to adapt line 267 of

set_env ("LANG", lan);

of

src/System/Language/text_language.cpp

Any patch with a more robust solution would be welcome.

Best wishes, Joris



Archive powered by MHonArc 2.6.19.

Top of page