RE: [Ltru] Extended language tags (long reply)

Shawn Steele <Shawn.Steele@microsoft.com> Tue, 09 October 2007 19:33 UTC

Return-path: <ltru-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1IfKpI-0004Iq-BY; Tue, 09 Oct 2007 15:33:08 -0400
Received: from ltru by megatron.ietf.org with local (Exim 4.43) id 1IfKpH-0004I4-RR for ltru-confirm+ok@megatron.ietf.org; Tue, 09 Oct 2007 15:33:07 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1IfKpH-0004Hw-Hr for ltru@ietf.org; Tue, 09 Oct 2007 15:33:07 -0400
Received: from maila.microsoft.com ([131.107.115.212] helo=smtp.microsoft.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1IfKpF-00010V-6A for ltru@ietf.org; Tue, 09 Oct 2007 15:33:07 -0400
Received: from tk1-exhub-c104.redmond.corp.microsoft.com (157.56.116.117) by TK5-EXGWY-E801.partners.extranet.microsoft.com (10.251.56.50) with Microsoft SMTP Server (TLS) id 8.1.177.2; Tue, 9 Oct 2007 12:32:55 -0700
Received: from NA-EXMSG-C116.redmond.corp.microsoft.com ([157.54.62.39]) by tk1-exhub-c104.redmond.corp.microsoft.com ([157.56.116.117]) with mapi; Tue, 9 Oct 2007 12:32:55 -0700
From: Shawn Steele <Shawn.Steele@microsoft.com>
To: Addison Phillips <addison@yahoo-inc.com>, Mark Davis <mark.davis@icu-project.org>
Date: Tue, 09 Oct 2007 12:32:53 -0700
Subject: RE: [Ltru] Extended language tags (long reply)
Thread-Topic: [Ltru] Extended language tags (long reply)
Thread-Index: AcgJW8qIgpDxR1XVTniue8ZpTAMeYgBTsP6Q
Message-ID: <C9BF0238EED3634BA1866AEF14C7A9E55A5987FFCD@NA-EXMSG-C116.redmond.corp.microsoft.com>
References: <E1IdT7z-0001vv-Ly@megatron.ietf.org> <C9BF0238EED3634BA1866AEF14C7A9E55A597AC370@NA-EXMSG-C116.redmond.corp.microsoft.com> <4709146F.6020504@yahoo-inc.com> <9d70cb000710071715p398a669fhd06326843d9d9390@mail.gmail.com> <30b660a20710071740ma6d39a3u61c8543c70125847@mail.gmail.com> <4709A420.80508@yahoo-inc.com>
In-Reply-To: <4709A420.80508@yahoo-inc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
MIME-Version: 1.0
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 52e1467c2184c31006318542db5614d5
Cc: "ltru@ietf.org" <ltru@ietf.org>
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0227170418=="
Errors-To: ltru-bounces@ietf.org

Your 1) & 2) don't have the same functionality.  If you don't change the lookup for 2), then you don't get the behavior that your changed lookup in 1) provided.

Changing a language priority list in 2) does count as a change.  This doesn't help a "new" web app talking to an "old" client that hasn't been updated, for example.  In order to solve that you have to infer the matching suggested, which I think is simpler with 1).

Note that your solution in 2) could be used if you felt it was simpler:  zh-yue-Hant-HK;zh-Hant-HK could be used to solve 1) as well, but with 1) you have more options.

- Shawn

-----Original Message-----
From: Addison Phillips [mailto:addison@yahoo-inc.com]
Sent: Sunday, October 07, 2007 8:30 PM
To: Mark Davis
Cc: ltru@ietf.org
Subject: Re: [Ltru] Extended language tags (long reply)

I would say:

1. With Extlangs.

- change to filtering: none, but you probably want to use extended
filtering instead of basic filtering (i.e. "zh-Hant-HK" matches
"zh-yue-Hant-HK" and "zh-cmn-Hant-HK")

- change to lookup: treat extlang as atomic with the primary language
subtag; potentially loop-back through the subtags. That is, given the
range "zh-yue-Hant-HK", the fallback pattern is this:

  zh-yue-Hant-HK
  zh-yue-Hant
  zh-yue
  zh-Hant-HK
  zh-Hant
  zh
  (default)

Or this:

  zh-yue-Hant-HK
  zh-yue-Hant
  zh-yue
  (default)

2. Without extlangs.

- change to filtering: none

- change to lookup: none

BUT... you want to include the macro language in your ranges in some
cases. Alternatively, we would have to define new filtering and lookup
options that include mapping to macrolanguages. For example, with the
range "yue-Hant-HK", you would want the fallback to be:

  yue-Hant-HK
  yue-Hant
  yue
  zh-Hant-HK
  zh-Hant
  zh
  (default)

This can be achieved either by having the language priority list
"yue-Hant-HK;zh-Hant-HK" or by inferring it using registry data about
macro languages.

A similar case can be made for filtering.

Addison

_______________________________________________
Ltru mailing list
Ltru@ietf.org
https://www1.ietf.org/mailman/listinfo/ltru