[imp] Language setting is ignored

Alexander Skwar ASkwar@DigitalProjects.com
Tue, 9 Oct 2001 07:48:57 +0200


So sprach »Chuck Hagenbuch« am 2001-10-08 um 11:44:23 -0400 :
> Quoting Alexander Skwar <ASkwar@DigitalProjects.com>:
> > de-de,  de-at;q=0.87,  de-ch;q=0.75, de;q=0.62, en-us;q=0.50, e=
n-gb;q=
> > 0.37, en-au;q=0.25, en;q=0.12
> 
> Hmm. Cute. That's different from any other format I've seen, and our Lang=
 class 

Hmm, do you have a list of formats sent out by different browsers?

Hmm, what's the problem with the string anyway?  Shouldn't
Lang::select() use the first supplied language (de-de)?  Wouldn't it be
sufficient if the test done in Lang::_map would be done in a case
insensitive way and if - is translated to _?  Do you see any problems
with this:

  function _map($language){
    $chk_lang = strtoupper(str_replace('-', '_', $language));
    $nls_chk_lang = strtoupper(str_replace('-', '_', 
      $GLOBALS['nls']['aliases'][$chk_lang]
    ));
    $nls_lang = strtoupper(str_replace('-', '_', 
      $GLOBALS['nls']['aliases'][$language]
    ));
    if (isset($nls_lang)){
      return $nls_lang;
    } elseif (isset($nls_chk_lang)){
      return $nls_chk_lang;
    }
    return $language;
  }
		    

Alexander Skwar
-- 
How to quote:	http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:	http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
		Uptime: 5 days 0 hours 14 minutes


>From admin@networkessence.net Date: Tue,  9 Oct 2001 01:58:23 -0500
Return-Path: <admin@networkessence.net>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 83392 invoked from network); 9 Oct 2001 07:03:08 -0000
Received: from www.networkessence.net (HELO ns.networkessence.net) (root@216.40.211.25)
  by clark.horde.org with SMTP; 9 Oct 2001 07:03:08 -0000
Received: (from root@localhost)
	by ns.networkessence.net (8.10.2/8.10.2) id f996wPp19225
	for imp@lists.horde.org; Tue, 9 Oct 2001 01:58:25 -0500
Received: from 65.112.179.30 ( [65.112.179.30])
	as user admin@127.0.0.1 by www.networkessence.net with HTTP;
	Tue,  9 Oct 2001 01:58:23 -0500
Message-ID: <1002610703.3bc2a00fcb408@www.networkessence.net>
Date: Tue,  9 Oct 2001 01:58:23 -0500
From: Alex L <admin@networkessence.net>
To: imp@lists.horde.org
References: <1002582965.3bc233b5a1c87@mail.lib.ci.phoenix.az.us>
In-Reply-To: <1002582965.3bc233b5a1c87@mail.lib.ci.phoenix.az.us>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Originating-IP: 65.112.179.30
Subject: Re: [imp] IMP 2.2.x and 2.3.x

Quoting Paul Hancock <phancock@lib.ci.phoenix.az.us>:

> IMP 2.2.x uses phplib, while 2.3.x uses PHP itself for session management. 
> The 
> phplib is prepended in PHP.INI.  Is this likely to have a negative impact on
> 
> the development (2.3.x) version?  We are currently running both versions on
> the 
> same server, and I have run into inexplicable problems.
> 

Just to let you know, it is possible. I'm running horde 1.2.4 and imp 2.2.4,  
horde 1.3.7-cvs and all of it's projects (imp, turba, etc) from CVS. They are 
all working without problems. I have php-4.0.6pl1-cvs installed.

Now, with that said. I will say, it wasn't easy :) Compiling php with 20 
different modules was very irksome. But, on the other hand, I had no problems 
with horde or imp (either versions). Most or all the problems I ran into had to 
do with my server configuration, the web server, or php. I doubt this will help 
you any, but I'm just letting you know I have them all running and nothing is 
conflicting.

-Alex

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


>From jan@horde.org Date: Tue,  9 Oct 2001 09:20:44 +0200
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 84648 invoked from network); 9 Oct 2001 07:24:03 -0000
Received: from mailout06.sul.t-online.com (HELO mailout06.sul.t-online.de) (194.25.134.19)
  by clark.horde.org with SMTP; 9 Oct 2001 07:24:03 -0000
Received: from fwd06.sul.t-online.de 
	by mailout06.sul.t-online.de with smtp 
	id 15qrFC-0003mV-08; Tue, 09 Oct 2001 09:24:02 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.157.79]) by fmrl06.sul.t-online.com
	with esmtp id 15qrF4-1KLb3wC; Tue, 9 Oct 2001 09:23:54 +0200
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 f997Kic21939
	for <imp@lists.horde.org>; Tue, 9 Oct 2001 09:20:44 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Tue,  9 Oct 2001 09:20:44 +0200
Message-ID: <1002612044.3bc2a54c5ff94@linux.wg.de>
Date: Tue,  9 Oct 2001 09:20:44 +0200
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <1002582965.3bc233b5a1c87@mail.lib.ci.phoenix.az.us>
In-Reply-To: <1002582965.3bc233b5a1c87@mail.lib.ci.phoenix.az.us>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] IMP 2.2.x and 2.3.x

IMP 2.3 doesn't use phplib anymore so this should be no problem.
If you get messages like "auth already defined" make sure that phplib is not 
autoprepended in the server directory where imp 2.3 resides.

Jan.

Zitat von Paul Hancock <phancock@lib.ci.phoenix.az.us>:

> IMP 2.2.x uses phplib, while 2.3.x uses PHP itself for session management. 
> The 
> phplib is prepended in PHP.INI.  Is this likely to have a negative impact on
> 
> the development (2.3.x) version?  We are currently running both versions on
> the 
> same server, and I have run into inexplicable problems.
> 
>                        -- Paul (phancock@lib.ci.phoenix.az.us)
> 
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


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


>From jan@horde.org Date: Tue,  9 Oct 2001 09:22:09 +0200
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 84649 invoked from network); 9 Oct 2001 07:24:03 -0000
Received: from mailout05.sul.t-online.com (HELO mailout05.sul.t-online.de) (194.25.134.82)
  by clark.horde.org with SMTP; 9 Oct 2001 07:24:03 -0000
Received: from fwd06.sul.t-online.de 
	by mailout05.sul.t-online.de with smtp 
	id 15qrFC-0000sp-08; Tue, 09 Oct 2001 09:24:02 +0200
Received: from linux.wg.de (320034214675-0001@[217.0.157.79]) by fmrl06.sul.t-online.com
	with esmtp id 15qrF4-1KLb3xC; Tue, 9 Oct 2001 09:23:54 +0200
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 f997M9c21946
	for <imp@lists.horde.org>; Tue, 9 Oct 2001 09:22:09 +0200
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@mail.wg.de by linux.wg.de with HTTP;
	Tue,  9 Oct 2001 09:22:09 +0200
Message-ID: <1002612129.3bc2a5a111d95@linux.wg.de>
Date: Tue,  9 Oct 2001 09:22:09 +0200
From: Jan Schneider <jan@horde.org>
To: imp@lists.horde.org
References: <1002585932.3bc23f4c9a994@mail.lib.ci.phoenix.az.us>
In-Reply-To: <1002585932.3bc23f4c9a994@mail.lib.ci.phoenix.az.us>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [imp] IMP folder sorting

It was me who had this problem.
It has never been fixed it just went away some day. :-(

It disappeared when the maintenance tasks ran the next time.

Jan.

Zitat von Paul Hancock <phancock@lib.ci.phoenix.az.us>:

> I thought I saw someone else mention this, so I thought I would weigh in.
> 
> I have an unsorted folder list.  Before the update I did late last week, the
> 
> folders were sorted in alpha order.  There no longer seems to be a pattern. 
> Of 
> course, I upgraded almost everything last week, while trying to track down an
> 
> unrelated problem.
> 
> I am running:
> IMP 2.3.7
> Horde 1.3.7
> PHP 4.0.8-dev 
> Exim 3.33
> UW IMAP-2001-final
> 
> 
>                        -- Paul (phancock@lib.ci.phoenix.az.us)
> 
> 
> 
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> 
> 


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