Re: [Slim] IETF last call for draft-ietf-slim-negotiating-human-language (Section 5.4)

"Phillips, Addison" <addison@lab126.com> Wed, 15 February 2017 17:12 UTC

Return-Path: <prvs=21264b967=addison@lab126.com>
X-Original-To: slim@ietfa.amsl.com
Delivered-To: slim@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 40D721296AA; Wed, 15 Feb 2017 09:12:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ChWjgJv3xvDS; Wed, 15 Feb 2017 09:12:48 -0800 (PST)
Received: from smtp-fw-4101.amazon.com (smtp-fw-4101.amazon.com [72.21.198.25]) (using TLSv1.2 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E8F12129459; Wed, 15 Feb 2017 09:12:47 -0800 (PST)
X-IronPort-AV: E=Sophos;i="5.35,166,1484006400"; d="scan'208";a="663823921"
Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-25015.iad12.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-4101.iad4.amazon.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 15 Feb 2017 17:12:46 +0000
Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-25015.iad12.amazon.com (8.14.7/8.14.7) with ESMTP id v1FHC9JI000777 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 15 Feb 2017 17:12:45 GMT
Received: from EX13D08UWB003.ant.amazon.com (10.43.161.186) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 15 Feb 2017 17:12:44 +0000
Received: from EX13D08UWB002.ant.amazon.com (10.43.161.168) by EX13D08UWB003.ant.amazon.com (10.43.161.186) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 15 Feb 2017 17:12:44 +0000
Received: from EX13D08UWB002.ant.amazon.com ([10.43.161.168]) by EX13D08UWB002.ant.amazon.com ([10.43.161.168]) with mapi id 15.00.1104.000; Wed, 15 Feb 2017 17:12:44 +0000
From: "Phillips, Addison" <addison@lab126.com>
To: Gunnar Hellström <gunnar.hellstrom@omnitor.se>, Randy Presuhn <randy_presuhn@alumni.stanford.edu>, "ietf@ietf.org" <ietf@ietf.org>, "slim@ietf.org" <slim@ietf.org>
Thread-Topic: [Slim] IETF last call for draft-ietf-slim-negotiating-human-language (Section 5.4)
Thread-Index: AQHShk5MdWFzLzaSL0G26SF4TAiur6FoFQsAgAAxCoCAAIAWgIAAJxpAgAAIijCAAORJAIAAbwXw
Date: Wed, 15 Feb 2017 17:12:44 +0000
Message-ID: <e1ce6bbaaf624c1e88d31c72440093ba@EX13D08UWB002.ant.amazon.com>
References: <20170213161000.665a7a7059d7ee80bb4d670165c8327d.917539e857.wbe@email0 3.godaddy.com> <ddc5af1d-f084-f57e-d6c9-5963e4fe98d3@omnitor.se> <4c4ef65a-a907-cf5e-4b2c-835fb55d0146@omnitor.se> <p06240603d4c8f105055e@[99.111.97.136]> <434a4f06-f034-46ca-9df7-f59059e67e41@alumni.stanford.edu> <843f0cc1-2686-162d-25dc-0075847579bc@omnitor.se> <44474907d69a42a0adb66cdc4933603a@EX13D08UWB002.ant.amazon.com> <ba7f397b-59ae-c549-cd1a-e22e1b73b3c1@omnitor.se>
In-Reply-To: <ba7f397b-59ae-c549-cd1a-e22e1b73b3c1@omnitor.se>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.43.162.155]
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Precedence: Bulk
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/n6LilO--CHQ45GzCpEdPO_S9hmI>
Subject: Re: [Slim] IETF last call for draft-ietf-slim-negotiating-human-language (Section 5.4)
X-BeenThere: slim@ietf.org
X-Mailman-Version: 2.1.17
List-Id: Selection of Language for Internet Media <slim.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/slim>, <mailto:slim-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/slim/>
List-Post: <mailto:slim@ietf.org>
List-Help: <mailto:slim-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/slim>, <mailto:slim-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 15 Feb 2017 17:12:49 -0000

Gunnar replied:
> 
> Den 2017-02-14 kl. 21:39, skrev Phillips, Addison:
> > I have some allergy to the SHALL language: there is no way to automatically
> determine conformance. Many language tags represent nonsensical values, due
> to the nature of language tag composition. Content providers need to use care
> in selecting the tags that they use and this section is merely pointing out good
> guidance for tag selection, albeit in a heavy-handed way. BCP47 RFC 5646
> Section 4.1 [1] already provides most of this guidance and a reference to that
> source might be useful here, if only because that document requires it:
> >
> > <quote>
> >     Standards, protocols, and applications that reference this document
> >     normatively but apply different rules to the ones given in this
> >     section MUST specify how language tag selection varies from the
> >     guidelines given here.
> > </quote>
> >
> > I would suggest reducing the SHALL items to SHOULD.
> Accepted.
> That also opens up for another use we have discussed before but been advised
> to not use. That is to indicate use of written language by attaching a script
> subtag even if the script subtag we use is suppressed by BCP 47. We can dro that
> need however, with the use of the Zxxx script subtag for non-written, and clearly
> include that usage in our specification as required from BCP 47.

I don't necessarily think that mandating a script subtag as a signal of written content (vs. spoken content) is that useful. In most protocols, the written nature of the content is indicated by the presence of text. Trying to coerce the language modality via language tags seems complicated, especially since most language tags are harvested from the original source. Introducing processes to evaluate and insert or remove script subtags seems unnecessary to me. That said, I have no objection to content using script subtags if they are useful. 

> >
> > I'm not sure what #2 really means. Shouldn't text captions be indicated by the
> written language rather than the spoken language? And I'm not sure what
> "spoken/written language" means.
> #2 was: "
> 
> 2.    Text captions included in the video stream SHALL be indicated
> by a Language-Tag for spoken/written language."
> 
> Yes, the intention is to use written language in the video stream. There are
> technologies for that.

I'm aware of that. My concern is that in this case "spoken/written" is applied to "text captions", which are not spoken be definition? This section is talking about the differences between identifying spoken and written language. The text captions fall into the written side of the equation, no?

I'd probably prefer to see something like "2. Text captions included in the video stream SHOULD include a Language-Tag to identify the language."

> Since the language subtags in the IANA registry are combined for spoken
> languages and written languages, I call them Language-Tags for spoken/written
> language.

The language subtags are for languages--all modalities. My comment here is that "spoken/written" adds no information.

> It would be misleading to say that we use a Language-Tag for a written
> language, because the same tag could in another context mean a spoken
> language.

One uses a Language-Tag for indicating the language. When the text is written, sometimes the user will pick a different language tag (zh-Hant-HK) than they might choose for spoken text (yue-HK, zh-cmn-HK, etc.). Sometimes (actually, nearly all the time except for special cases) the language tag for the spoken and written language is the same tag (en-US, de-CH, ja-JP, etc.). Again, the modality of the language is a separate consideration from the language. Nearly always, it is better to use the same tag for both spoken and written content rather than trying to use the tag to distinguish between them: different Content-Types require different decoders anyway, but it is really useful to say "give me all of the 'en-US' content you have" or "do you have content for a user who speaks 'es'"

> Since we have the script subtag Zxxx for non-written, we do not need to
> construct an explicit tag for the written language tag, it should be sufficient with
> our specification of the use in our case.

In case it isn't clear aboe, I oppose introducing the 'Zxxx' subtag save for cases where the non-written nature of the content is super-important to the identification of the language.
> 
> In my latest recent proposal, I still have a very similar wording. Since you had
> problems understanding it, there might still be a need to tune it. Can you
> propose wording?
> This is the current proposal:
> 
> "   2.    Text captions included in the video stream SHOULD be indicated
>    by a humintlang attribute with Language-Tag for spoken/written language.
> "

I did that above. I think it is useful not to over-think it. When I see "Content-Type: video/mpeg; Content-Language: en-GB", I rather expect audio content in English and not written content (although the video stream might also includes pictures of English text such as the titles in a movie). When, as in this case, setting up a negotiated language experience, interoperability is most aided by matching the customer's language preferences to available resources. This is easiest when customers do not get carried away with complex language tags (ranges in BCP 47 parlance, e.g. tlh-Cyrl-AQ-fonupa) and systems do not have to introspect the language tags, inserting and removing script subtags to match the various language modes.

Addison