[imp] Language

Martin List-Petersen martin@list-petersen.dk
Thu, 3 Jan 2002 15:59:38 +0100


> Which version of gettext are you using? I had similar problems but they
> disappeared when I upgraded from version 0.10.35 to 0.10.40 and recompiled
> PHP.
>

The version i use is 0.10.40. Apache is actually 1.3.22 and PHP is 4.1.0RC2.
Works normally quite nice. It seems, that some of my problems came from the
locales, however on the console it ignores LANG. LC_MESSAGES however is
taken.

Regards,
Martin List-Petersen
martin@list-petersen.dk
http://www.marlow.dk



>From jan@horde.org Date: Thu,  3 Jan 2002 15:23:43 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 7010 invoked from network); 3 Jan 2002 15:29:12 -0000
Received: from mailout06.sul.t-online.com (194.25.134.19)
  by clark.horde.org with SMTP; 3 Jan 2002 15:29:12 -0000
Received: from fwd07.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 16M8tb-0006AW-08; Thu, 03 Jan 2002 15:31:03 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.126]) by fmrl07.sul.t-online.com
	with esmtp id 16M8tT-1honseC; Thu, 3 Jan 2002 15:30:55 +0100
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g03ENi916931
	for <imp@lists.horde.org>; Thu, 3 Jan 2002 15:23:44 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@linux by linux.wg.de with HTTP;
	Thu,  3 Jan 2002 15:23:43 +0100
Message-ID: <1010067823.3c34696fe31ce@linux.wg.de>
Date: Thu,  3 Jan 2002 15:23:43 +0100
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <008301c19450$ca758b00$0a0aa8c0@ewddk.dk> <1010061340.3c34501ce31cd@linux.wg.de> <000701c19455$31000360$0a0aa8c0@ewddk.dk> <1010063105.3c345701a3a2d@linux.wg.de> <003301c19460$d81bdb00$0a0aa8c0@ewddk.dk> <005601c19461$698c3760$0a0aa8c0@ewddk.dk>
In-Reply-To: <005601c19461$698c3760$0a0aa8c0@ewddk.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] Language

Zitat von Martin List-Petersen <martin@list-petersen.dk>:

> > > But you didn't tell what the results were of the debugging steps.
> Did
> > > gettext work on command line?
> > >
> >
> > I just ran through them another time, and got the following result on
> the
> > console:
> >
> > (LANG=da_DK; gettext horde "Message")
> > This does not work .... whatever i do..... gives me "Message" all the
> time.
> >
> > (LC_MESSAGES=da_DK; gettext horde "Message")
> > This does work .... on all messages i tried both on my danish
> translation
> > and on the nl_NL example. It gives the correct result.
> >
> > The langtest.php thing however doesn't work anyway.
> 
> I've been fiddeling around with the locales, which seemed to be the
> problem
> and resolved the problem. The langtest.php script from the debug stuff
> doesn't work, however the Horde framework does do it's translation job
> now.

Great. 
What system do you have? Did you also try to set the LANGUAGE variable 
instead of LANG? This is necessary on some systems.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::