[dev] Bug in translations

James james@james-web.net
Sat, 2 Mar 2002 13:04:06 -0500


I think that is because the application names are specified in
horde/config/registry.php like this:

$this->applications['imp'] = array(
     'fileroot' => dirname(__FILE__) . '/../imp',
     'webroot' => $this->applications['horde']['webroot'] . '/imp',
     'icon' => '/horde/imp/graphics/imp.gif',
     'name' => _("Mail"),
     'allow_guests' => true,
     'show' => true
);

$this->applications['turba'] = array(
     'fileroot' => dirname(__FILE__) . '/../turba',
     'webroot' => $this->applications['horde']['webroot'] . '/turba',
     'icon' => '/horde/turba/graphics/turba.gif',
     'name' => _("Addressbook"),
     'allow_guests' => false,
     'show' => true
);

So I guess this is outside of the Horde translation system and therefore
doesn't get included.

But maybe I'm wrong.

- James

> -----Original Message-----
> From: giannici@neomedia.it [mailto:giannici@neomedia.it] 
> Sent: Saturday, March 02, 2002 12:44 PM
> To: Horde DEV
> Subject: [dev] Bug in translations
> 
> 
> I have found a bug in the translation system into the RELENG 
> versions of the Horde Applications.
> 
> I'm italian.
> If I use a browser that has Italian as preferred language 
> then there is no problem. If I use a browser with English as 
> preferred language I can anyway select the Italian language 
> in the login page, so everything seems to appear in Italian. 
> Everything EXCEPT the applications names (Mail, Addressbook, 
> etc.) that remain always in english!
> 
> Ciao,
> ___________________________________________________
>     __
>    |-                      giannici@neomedia.it
>    |ederico Giannici      http://www.neomedia.it
> ___________________________________________________
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 



>From jan@horde.org Date: Sat,  2 Mar 2002 19:15:20 +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 25865 invoked from network); 2 Mar 2002 18:16:30 -0000
Received: from mailout04.sul.t-online.com (194.25.134.18)
  by clark.horde.org with SMTP; 2 Mar 2002 18:16:30 -0000
Received: from fwd11.sul.t-online.de 
	by mailout04.sul.t-online.com with smtp 
	id 16hE3X-0005Aj-04; Sat, 02 Mar 2002 19:16:27 +0100
Received: from linux.wg.de (320034214675-0001@[217.88.130.56]) by fmrl11.sul.t-online.com
	with esmtp id 16hE3P-1if3AmC; Sat, 2 Mar 2002 19:16:19 +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 g22IFKR30469
	for <dev@lists.horde.org>; Sat, 2 Mar 2002 19:15:21 +0100
Received: from 192.168.60.138 ( [192.168.60.138])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Sat,  2 Mar 2002 19:15:20 +0100
Message-ID: <1015092920.3c8116b8797f7@jan.dip.ammma.net>
Date: Sat,  2 Mar 2002 19:15:20 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <3C810F73.DD6C3AF1@neomedia.it>
In-Reply-To: <3C810F73.DD6C3AF1@neomedia.it>
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] Bug in translations

Zitat von Federico Giannici <giannici@neomedia.it>:

> I have found a bug in the translation system into the RELENG versions of
> the Horde Applications.
> 
> I'm italian.
> If I use a browser that has Italian as preferred language then there is
> no problem.
> If I use a browser with English as preferred language I can anyway
> select the Italian language in the login page, so everything seems to
> appear in Italian.
> Everything EXCEPT the applications names (Mail, Addressbook, etc.) that
> remain always in english!

That's because the menu is in a different frame and doesn't get reloaded. 
There's currently no fix for this.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From jan@horde.org Date: Sat,  2 Mar 2002 19:24:29 +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 26368 invoked from network); 2 Mar 2002 18:26:36 -0000
Received: from mailout10.sul.t-online.com (194.25.134.21)
  by clark.horde.org with SMTP; 2 Mar 2002 18:26:36 -0000
Received: from fwd05.sul.t-online.de 
	by mailout10.sul.t-online.com with smtp 
	id 16hEDK-0005j0-03; Sat, 02 Mar 2002 19:26:34 +0100
Received: from linux.wg.de (320034214675-0001@[217.88.130.56]) by fmrl05.sul.t-online.com
	with esmtp id 16hEDD-0NJa6aC; Sat, 2 Mar 2002 19:26:27 +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 g22IOVR31482
	for <dev@lists.horde.org>; Sat, 2 Mar 2002 19:24:32 +0100
Received: from 192.168.60.138 ( [192.168.60.138])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Sat,  2 Mar 2002 19:24:29 +0100
Message-ID: <1015093469.3c8118ddd6450@jan.dip.ammma.net>
Date: Sat,  2 Mar 2002 19:24:29 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <3C810AEE.BE7AE799@neomedia.it>
In-Reply-To: <3C810AEE.BE7AE799@neomedia.it>
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] Italian translations

Zitat von Federico Giannici <giannici@neomedia.it>:

> Here are some updates to the Italian translations of the RELENG versions
> of Horde, Imp and Turba.

Commited, thanks!

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From chuck@horde.org Date: Sat,  2 Mar 2002 15:07:36 -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 29846 invoked from network); 2 Mar 2002 20:08:14 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 2 Mar 2002 20:08:14 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 36AA53A1D; Sat,  2 Mar 2002 15:07:36 -0500 (EST)
Received: from 192.168.0.111 ( [192.168.0.111])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sat,  2 Mar 2002 15:07:36 -0500
Message-ID: <1015099656.3c8131080ba44@marina.horde.org>
Date: Sat,  2 Mar 2002 15:07:36 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <1014947384.3c7ede386e732@marina.horde.org> <1015001896.3c7fb3289ae45@jan.dip.ammma.net> <1015006616.3c7fc5988792d@marina.horde.org> <1015068864.3c80b8c089cd5@jan.dip.ammma.net>
In-Reply-To: <1015068864.3c80b8c089cd5@jan.dip.ammma.net>
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] Last-minute reminder: OSCON talks

Quoting Jan Schneider <jan@horde.org>:

> What I currently have is based on the xml-rpc extension. It consists of a 
> rpc.php file sitting in the horde directory that provides an rpc interface 
> to all methods defined by the registry and callable by a function. Methods 
> that return a link are not so useful in rpc calls. ;-)

Indeed. :)

> What I plan is to extend Horde apps that provide a servers or sources 
> definition (currently only Turba) with a new backend driver that can be 
> remote Horde installation. This driver calls then the rpc.php file of the 
> other installation. 

Sounds good. It would be really useful for Nag, too - distributed task lists.

So, want to toss it in CVS and let us play? How does it handle authentication?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From jan@horde.org Date: Sun,  3 Mar 2002 16:04:32 +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 49842 invoked from network); 3 Mar 2002 15:06:28 -0000
Received: from mailout06.sul.t-online.com (194.25.134.19)
  by clark.horde.org with SMTP; 3 Mar 2002 15:06:28 -0000
Received: from fwd11.sul.t-online.de 
	by mailout06.sul.t-online.com with smtp 
	id 16hXZC-00019Q-03; Sun, 03 Mar 2002 16:06:26 +0100
Received: from linux.wg.de (320034214675-0001@[217.88.130.56]) by fmrl11.sul.t-online.com
	with esmtp id 16hXYz-1UGjT6C; Sun, 3 Mar 2002 16:06:13 +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 g23F4XR03444
	for <dev@lists.horde.org>; Sun, 3 Mar 2002 16:04:33 +0100
Received: from 192.168.60.137 ( [192.168.60.137])
	as user jan@linux by jan.dip.ammma.net with HTTP;
	Sun,  3 Mar 2002 16:04:32 +0100
Message-ID: <1015167872.3c823b80ca101@jan.dip.ammma.net>
Date: Sun,  3 Mar 2002 16:04:32 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1014947384.3c7ede386e732@marina.horde.org> <1015001896.3c7fb3289ae45@jan.dip.ammma.net> <1015006616.3c7fc5988792d@marina.horde.org> <1015068864.3c80b8c089cd5@jan.dip.ammma.net> <1015099656.3c8131080ba44@marina.horde.org>
In-Reply-To: <1015099656.3c8131080ba44@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] Last-minute reminder: OSCON talks

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

> > What I plan is to extend Horde apps that provide a servers or sources 
> > definition (currently only Turba) with a new backend driver that can be
> > remote Horde installation. This driver calls then the rpc.php file of
> the 
> > other installation. 
> 
> Sounds good. It would be really useful for Nag, too - distributed task
> lists.
> 
> So, want to toss it in CVS and let us play? How does it handle
> authentication?

It's been two three weeks since I looked at it, so I'll probably have to 
clean up a bit before.

Authentication is currently done by a basic authentication header as usual 
in xml-rpc. I just take the users credentials for now but of course we can 
add rpc sources on a user or server base and put the credentials in the 
prefs or the source configuration.

Authentication on the server side requires an authenticate() method on the 
used authentication driver. So we still need to do some work on this.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From chuck@horde.org Date: Sun,  3 Mar 2002 13:38:17 -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 52760 invoked from network); 3 Mar 2002 18:38:56 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 3 Mar 2002 18:38:56 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 865C939E8; Sun,  3 Mar 2002 13:38:17 -0500 (EST)
Received: from 192.168.0.113 ( [192.168.0.113])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  3 Mar 2002 13:38:17 -0500
Message-ID: <1015180697.3c826d995acdd@marina.horde.org>
Date: Sun,  3 Mar 2002 13:38:17 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <1014947384.3c7ede386e732@marina.horde.org> <1015001896.3c7fb3289ae45@jan.dip.ammma.net> <1015006616.3c7fc5988792d@marina.horde.org> <1015068864.3c80b8c089cd5@jan.dip.ammma.net> <1015099656.3c8131080ba44@marina.horde.org> <1015167872.3c823b80ca101@jan.dip.ammma.net>
In-Reply-To: <1015167872.3c823b80ca101@jan.dip.ammma.net>
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] Last-minute reminder: OSCON talks

Quoting Jan Schneider <jan@horde.org>:

> It's been two three weeks since I looked at it, so I'll probably have to 
> clean up a bit before.

No problem. We can hammer it out in CVS, too.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan