[dev] Re: [cvs] cvs commit: imp login.php redirect.php horde/lib Lang.php

Jon Parise jon@horde.org
Wed, 2 Jan 2002 13:44:57 -0500


On Wed, Jan 02, 2002 at 07:37:49PM +0100, Jan Schneider wrote:

> > >   After login
> > >   1) The user's preference
> > >   2) The preference's default value
> > >   3) The language selected on the login screen
> > >   4) The browser's accept-language header
> > >   5) The default value in $nls
> >    
> > Shouldn't 2 and 3 be switched, allowing the user to override the
> > default?
> 
> Hm, makes sense. On the other hand, administrators can now set the default 
> value in prefs.php empty. But your suggestions sounds less complicated and 
> expectable from the user's view.
 
Do you think the language selection widget on the login screen
should default to the system default (i.e. the preference
default) or the value derived from the user's browser?

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


>From jan@horde.org Date: Wed,  2 Jan 2002 19:50:58 +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 56238 invoked from network); 2 Jan 2002 19:01:07 -0000
Received: from mailout10.sul.t-online.com (194.25.134.21)
  by clark.horde.org with SMTP; 2 Jan 2002 19:01:07 -0000
Received: from fwd07.sul.t-online.de 
	by mailout10.sul.t-online.de with smtp 
	id 16LqdL-0000Iz-04; Wed, 02 Jan 2002 20:01:03 +0100
Received: from linux.wg.de (320034214675-0001@[80.130.218.150]) by fmrl07.sul.t-online.com
	with esmtp id 16LqdA-17GOmmC; Wed, 2 Jan 2002 20:00:52 +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 g02Iow909222
	for <dev@lists.horde.org>; Wed, 2 Jan 2002 19:50:58 +0100
Received: from 192.168.60.1 ( [192.168.60.1])
	as user jan@linux by linux.wg.de with HTTP;
	Wed,  2 Jan 2002 19:50:58 +0100
Message-ID: <1009997458.3c335692409b3@linux.wg.de>
Date: Wed,  2 Jan 2002 19:50:58 +0100
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <20020102133328.E5893473@arkady.horde.org> <20020102181304.GJ23942@csh.rit.edu> <1009996669.3c33537d939d2@linux.wg.de> <20020102184457.GA26142@csh.rit.edu>
In-Reply-To: <20020102184457.GA26142@csh.rit.edu>
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 Jon Parise <jon@horde.org>:

> On Wed, Jan 02, 2002 at 07:37:49PM +0100, Jan Schneider wrote:
> 
> > > >   After login
> > > >   1) The user's preference
> > > >   2) The preference's default value
> > > >   3) The language selected on the login screen
> > > >   4) The browser's accept-language header
> > > >   5) The default value in $nls
> > >    
> > > Shouldn't 2 and 3 be switched, allowing the user to override the
> > > default?
> > 
> > Hm, makes sense. On the other hand, administrators can now set the
> default 
> > value in prefs.php empty. But your suggestions sounds less complicated
> and 
> > expectable from the user's view.
>  
> Do you think the language selection widget on the login screen
> should default to the system default (i.e. the preference
> default) or the value derived from the user's browser?

I think (and that's how I changed it) it should default to nothing, but the 
language used on the login screen should be taken from the browser.

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