[dev] Horde 2.0: Languages keeps changing during session

Leena Heino liinu@uta.fi
Fri, 4 Jan 2002 19:59:23 +0200 (EET)


On Fri, 4 Jan 2002, Jon Parise wrote:

> On Fri, Jan 04, 2002 at 07:42:34PM +0200, Leena Heino wrote:
>
> > The Problem seemed to be that with Solaris I could not use IMP's default
> > Makefile in imp/po/Makefile. This Makefile merges Horde's .po file with
> > IMP's .po file before compiling.
>
> What was the problem?  Any thoughts on how it could be changed to
> work on both platforms?
>
Solaris does not have msgcomm command, which is used to merge .po files
in the Makefile. So I had to use msgfmt as was instructed in the README.
Fortunately Solaris' Makefile accepts multiple .po files as an argument.

After reading the Makefile, here's what I decided to use. This will give a
few warnings about duplicate entries, but it merges Horde's and IMP's .po
files and compiles them.

Horde:
cd horde/po
msgfmt -v -o ../locale/fi_FI/LC_MESSAGES/horde.mo fi_FI.po

IMP:
cd horde/imp/po
msgfmt -v -o ../locale/fi_FI/LC_MESSAGES/imp.mo fi_FI.po ../../po/fi_FI.po

Turba:
cd horde/turba/po
msgfmt -v -o ../locale/fi_FI/LC_MESSAGES/turba.mo fi_FI.po ../../po/fi_FI.po

-- 
  -- Leena Heino (liinu@uta.fi)



>From chuck@horde.org Date: Sun,  6 Jan 2002 01:33:51 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 33114 invoked from network); 6 Jan 2002 06:34:30 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 6 Jan 2002 06:34:30 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id AA61239EC; Sun,  6 Jan 2002 01:33:51 -0500 (EST)
Received: from 136.152.194.22 ( [136.152.194.22])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  6 Jan 2002 01:33:51 -0500
Message-ID: <1010298831.3c37efcf8367e@marina.horde.org>
Date: Sun,  6 Jan 2002 01:33:51 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <20020102133328.E5893473@arkady.horde.org> <20020102181304.GJ23942@csh.rit.edu> <1010083360.3c34a620ea6fd@linux.wg.de>
In-Reply-To: <1010083360.3c34a620ea6fd@linux.wg.de>
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
Subject: Re: [dev] Re: [cvs] cvs commit: imp login.php redirect.php horde/lib Lang.php

Quoting Jan Schneider <jan@horde.org>:

> Currently we can't determine if a preference is set by a user or the 
> default value from prefs.php. But this would be necessary if we want to 
> switch 2 and 3.

This seems like a worthwhile thing to have.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"What was and what may be, lie, like children whose faces we cannot see, in the
arms of silence. All we ever have is here, now." - Ursula K. Le Guin


>From jan@horde.org Date: Mon,  7 Jan 2002 16:41:10 +0100
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 27348 invoked from network); 7 Jan 2002 15:51:11 -0000
Received: from mailout07.sul.t-online.com (194.25.134.83)
  by clark.horde.org with SMTP; 7 Jan 2002 15:51:11 -0000
Received: from fwd05.sul.t-online.de 
	by mailout07.sul.t-online.de with smtp 
	id 16Nc3H-00033v-05; Mon, 07 Jan 2002 16:51:07 +0100
Received: from linux.wg.de (320034214675-0001@[217.225.46.107]) by fmrl05.sul.t-online.com
	with esmtp id 16Nc33-0d7cPYC; Mon, 7 Jan 2002 16:50:53 +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 g07FfA918613
	for <dev@lists.horde.org>; Mon, 7 Jan 2002 16:41:10 +0100
Received: from 62.225.101.66 ( [62.225.101.66])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Mon,  7 Jan 2002 16:41:10 +0100
Message-ID: <1010418070.3c39c196330b7@jan.dip.ammma.net>
Date: Mon,  7 Jan 2002 16:41:10 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <20020102133328.E5893473@arkady.horde.org> <20020102181304.GJ23942@csh.rit.edu> <1010083360.3c34a620ea6fd@linux.wg.de> <1010298831.3c37efcf8367e@marina.horde.org>
In-Reply-To: <1010298831.3c37efcf8367e@marina.horde.org>
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: [dev] Re: [cvs] cvs commit: imp login.php redirect.php horde/lib Lang.php

Zitat von Chuck Hagenbuch <chuck@horde.org>:

> Quoting Jan Schneider <jan@horde.org>:
> 
> > Currently we can't determine if a preference is set by a user or the 
> > default value from prefs.php. But this would be necessary if we want to
> 
> > switch 2 and 3.
> 
> This seems like a worthwhile thing to have.

Take a look at what I just commited.

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
::::::::::::::::::::::::::::::::::::::::::::::