Re: [Ltru] Issue 113 (language tag matching (Accept-Language) vs RFC4647), was: Proposed resolution for Issue 13 (language tags)

"Phillips, Addison" <addison@amazon.com> Sat, 18 July 2009 20:00 UTC

Return-Path: <addison@amazon.com>
X-Original-To: ltru@core3.amsl.com
Delivered-To: ltru@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D3D6D3A6B6C for <ltru@core3.amsl.com>; Sat, 18 Jul 2009 13:00:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ssTDyBc1HP4 for <ltru@core3.amsl.com>; Sat, 18 Jul 2009 13:00:15 -0700 (PDT)
Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by core3.amsl.com (Postfix) with ESMTP id A44943A69CD for <ltru@ietf.org>; Sat, 18 Jul 2009 13:00:15 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.43,227,1246838400"; d="scan'208";a="298133573"
Received: from smtp-in-5102.iad5.amazon.com ([10.218.9.29]) by smtp-border-fw-out-2101.iad2.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 18 Jul 2009 19:58:30 +0000
Received: from ex-hub-4101.ant.amazon.com (ex-hub-4101.ant.amazon.com [10.248.163.22]) by smtp-in-5102.iad5.amazon.com (8.12.11/8.12.11) with ESMTP id n6IJwT7u017956 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL); Sat, 18 Jul 2009 19:58:30 GMT
Received: from EX-SEA5-D.ant.amazon.com ([10.248.163.30]) by ex-hub-4101.ant.amazon.com ([10.248.163.22]) with mapi; Sat, 18 Jul 2009 12:58:29 -0700
From: "Phillips, Addison" <addison@amazon.com>
To: John Cowan <cowan@ccil.org>, Julian Reschke <julian.reschke@gmx.de>
Date: Sat, 18 Jul 2009 12:58:23 -0700
Thread-Topic: [Ltru] Issue 113 (language tag matching (Accept-Language) vs RFC4647), was: Proposed resolution for Issue 13 (language tags)
Thread-Index: AcoH0YVZKukxlE8PROyzGMU3PStqogAAin4w
Message-ID: <4D25F22093241741BC1D0EEBC2DBB1DA01AB843BEC@EX-SEA5-D.ant.amazon.com>
References: <48037FF9.9030103@gmx.de> <48049274.3090501@gmx.de> <4A61B8B7.7030200@gmx.de> <4D25F22093241741BC1D0EEBC2DBB1DA01AB843B4F@EX-SEA5-D.ant.amazon.com> <4A61F5C2.3050906@gmx.de> <20090718175918.GA3899@mercury.ccil.org>
In-Reply-To: <20090718175918.GA3899@mercury.ccil.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Cc: LTRU Working Group <ltru@ietf.org>, HTTP Working Group <ietf-http-wg@w3.org>
Subject: Re: [Ltru] Issue 113 (language tag matching (Accept-Language) vs RFC4647), was: Proposed resolution for Issue 13 (language tags)
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 18 Jul 2009 20:00:17 -0000

> Julian Reschke scripsit:
> 
> > The intention was to normatively refer to that matching algorithm
> that
> > actually is equivalent to what RFC2616 used to define (remember,
> we're
> > not changing the protocol here). Did we pick the wrong one?
> 
> No, basic filtering is the RFC 2616 algorithm all right.  You might
> consider allowing HTTP servers to do lookup if basic filtering
> produces no results: Apache already does this.

Basic filtering is "pretty much" the 2616 algorithm--in fact, I think we went out of our way to make them compatible. But I think our understanding of language negotiation has evolved somewhat since 1999. There are a number of recommendations and statements in 2616 that suggest that both servers and client applications might tailor their matching behavior, etc.

I think it would be useful and wise to allow for both sorts of behavior. Many application servers use lookup (which is the locale/resource loading protocol for Windows, Java, etc.)

> 
> Is there some reason why you aren't referring to BCP 47?

I think they are trying to be specific about their reference to avoid having <Language-Tag> change underneath them. 

Julian notes:

> The spec does refer to BCP 47: 
> <http://greenbytes.de/tech/webdav/draft-ietf-httpbis-p3-payload-07.html#RFC4647>.

Yes, but not in the same way as it refers to BCP 97.

Addison

Addison Phillips
Globalization Architect -- Lab126

Internationalization is not a feature.
It is an architecture.