[dev] Re: [cvs] cvs commit: horde/docs CHANGES horde/lib Browser.php

Jon Parise jon@horde.org
Tue, 22 Jan 2002 13:05:38 -0500


On Tue, Jan 22, 2002 at 06:54:18PM +0100, Jan Schneider wrote:

> Not so fast! ;-) I think we have to decide if we want crashs or a lack of 
> usability. Even better were of course if we could find a "third" solution.
 
I'll let you guys test the various fixes.  Also, we may be able
to narrow down the problem to a specific minor version.

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


>From nuno@eth.pt Date: 22 Jan 2002 18:58:15 +0000
Return-Path: <nuno@co.eth.pt>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 34691 invoked from network); 22 Jan 2002 18:58:27 -0000
Received: from hq.eth.pt (root@194.65.84.1)
  by clark.horde.org with SMTP; 22 Jan 2002 18:58:27 -0000
Received: from dev.hq.eth.pt (dev.hq.eth.pt [10.1.1.10])
	by hq.eth.pt (8.11.6/8.11.6) with ESMTP id g0MIwKM19968
	for <dev@lists.horde.org>; Tue, 22 Jan 2002 18:58:20 GMT
From: Nuno Loureiro <nuno@eth.pt>
To: dev@lists.horde.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Mailer: Evolution/1.0 (Preview Release)
Date: 22 Jan 2002 18:58:15 +0000
Message-Id: <1011725895.1122.27.camel@dev.hq.eth.pt>
Mime-Version: 1.0
Subject: Re: [dev] Re: [cvs] cvs commit: imp login.php redirect.php
	horde/lib Lang.php

Hi!

In my opinion you shouldn't switch 2 and 3. Letting the default value
for the language preferences empty is a good option, because an
administrator can let the user choose the language automatically by the
browser (setting the default value for the language empty in prefs.php)
or can force a language and ignore the browser.

What happens a lot for non-english users is that lots of them download a
browser and don't set its default language because either they do not
want (like me) or because they don't know about the option (newbies) or
even because they forget to configure it (most users). Most users that
have it configured got their browser in the ISP CD or in a local site
(that have it configured by default).

Imagine for example, that I want to implement a free webmail site in
Portugal. I'd like the site to appear in Portuguese only (or unless the
user explicitly chooses another language). Switching 2 and 3 would not
let me do it, and the alternative (of setting the default value empty)
would.

Regards,

   Nuno Loureiro

>Zitat von Jon Parise <jon@horde.org>:
>
>> On Wed, Jan 02, 2002 at 05:33:28AM -0800, 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?
>
>Now that I thought about it a bit this would require too much
>modification in the preference backend. It's not worth it if you
>achieve the same goal by setting the default value empty.
>
>Currently we can't determine if a preference is set by a user or the=20
>default value from prefs.php. But this would be necessary if we want to
>switch 2 and 3.
>
>I think it's better to remove the default value for the language=20
>preferences in all applications' prefs.php.dist. We have a horde wide=20
>default value in lang.php anyway and selecting the language rather from
>the browser or the login screen than from the administrator's gusto
>definitely makes sense.
>
>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
>::::::::::::::::::::::::::::::::::::::::::::::
>
>--=20
>Horde Developers mailing list: http://horde.org/
>Frequently Asked Questions: http://horde.org/faq/
>To unsubscribe, mail: dev-unsubscribe@lists.horde.org


--=20
Nuno Loureiro <nuno@eth.pt>
Ethernet, Solu=E7=F5es Inform=E1ticas, LDA
http://www.eth.pt
--=20
Nuno Loureiro <nuno@eth.pt>
Ethernet, Solu=E7=F5es Inform=E1ticas, LDA
http://www.eth.pt