Re: [Slim] Adam Roach's No Objection on draft-ietf-slim-multilangcontent-13: (with COMMENT)

Nik Tomkinson <rfc.nik.tomkinson@gmail.com> Thu, 17 August 2017 20:07 UTC

Return-Path: <rfc.nik.tomkinson@gmail.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 8CA9B132670; Thu, 17 Aug 2017 13:07:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 5vuTmakM-wAI; Thu, 17 Aug 2017 13:07:20 -0700 (PDT)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6CE213228D; Thu, 17 Aug 2017 13:07:19 -0700 (PDT)
Received: by mail-lf0-x230.google.com with SMTP id o85so34340961lff.3; Thu, 17 Aug 2017 13:07:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wNEOdVF+Ovswdo90hTbRUiNG5mb0H/T5onzVys/bX8o=; b=fGDjzclHwWUFuHu6in7kJAqsrXP3oStSj+k2tgEj5TpLyhwQvhNW/4x2UbWQmXGGsU bPJtJWDO3Ao/Amz9NfW//RfJtE36O2cfH2yefG7Fsbk15uiHOE1V+czXodxqUxrmmtDV p9G+LsYpulu45WZ9WTn2aG5VJLmEy9Vag+SoiuskfyM7TO6Pid+BHPyGdwnOLVOODxUF +J3/MldpUsTin1TNlyOVpcyD1AFAAmrtoQDNI/vZrvcQKN9EBbqSgdFUimrvLzj8KXpS JuK7Y/lb6lPNG6a0CUFLsI/pTE3xABQvOtZQaJ2NUQhV5d5tuZELYq0bRW5MF/SCEZOA 4hAg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wNEOdVF+Ovswdo90hTbRUiNG5mb0H/T5onzVys/bX8o=; b=f4IAnPr6KhMZ/Uzdl/RxPN0f+jsFXZDCGygbe0uDxXX60tOWSEXE2DwXQWKmJkJzbu 60idIQiZjmLdRdr+WY8gVHIgj9Is/wkf56gXFhw8lzJ6K2d0+ufoD4ZWwsfuWJ8TyPHE ZWmsTv8Isdg1BseZtb8fkoS7OmagfFeGqvlR+/TKWVfVxa3EpAm4nAvq0922H9ujk1zf rUPKejH7Jq9JBZ8Fc3RvcOArZgPnlDS0tCwf+rrL6cFj8+6K5aRkoiyc35QoHasrV/jO gvQTBAms2ts89W6ZP31ofZ1RuPKmuitSChd1eBVVW9O6vEVXx+6ahySyHi51Vy1w6/wJ F9Sw==
X-Gm-Message-State: AHYfb5iloQh5H1iiMzTYaSaTPO7ZdKGNgKjrjizjOwgalsFPTZ0JAosb T9WS83ozPCLlthSuWj3e+88HNhJkzQ==
X-Received: by 10.46.77.77 with SMTP id a74mr2426248ljb.53.1503000438118; Thu, 17 Aug 2017 13:07:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.211.15 with HTTP; Thu, 17 Aug 2017 13:07:17 -0700 (PDT)
In-Reply-To: <CAK5rQdwbTVsA+qUXH8KeWA3-pd_VR9OsbtUF4u0+oq2X65L6uA@mail.gmail.com>
References: <150292740024.12316.10186295594648032334.idtracker@ietfa.amsl.com> <1502962175.1590900.1076220224.097DD098@webmail.messagingengine.com> <eee8abeb-aa90-a1a6-5961-900ca1a88c05@nostrum.com> <1502964908.2431249.1076255576.026440DD@webmail.messagingengine.com> <CAK5rQdwbTVsA+qUXH8KeWA3-pd_VR9OsbtUF4u0+oq2X65L6uA@mail.gmail.com>
From: Nik Tomkinson <rfc.nik.tomkinson@gmail.com>
Date: Thu, 17 Aug 2017 21:07:17 +0100
Message-ID: <CAK5rQdyNB8T6GbK-3jYnwJ6n-dpY9Mie7AWzopMqgteHWy3UUQ@mail.gmail.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>
Cc: Adam Roach <adam@nostrum.com>, The IESG <iesg@ietf.org>, slim@ietf.org, draft-ietf-slim-multilangcontent@ietf.org, slim-chairs@ietf.org, Bernard Aboba <bernard.aboba@gmail.com>
Content-Type: multipart/alternative; boundary="94eb2c1ab91e361d850556f88f83"
Archived-At: <https://mailarchive.ietf.org/arch/msg/slim/bV9F7RU1jdLM1qPFeCOrtpE0R20>
Subject: Re: [Slim] Adam Roach's No Objection on draft-ietf-slim-multilangcontent-13: (with COMMENT)
X-BeenThere: slim@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
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: Thu, 17 Aug 2017 20:07:22 -0000

Hi Adam,

thanks for your comments.

The usage of the phrase 'language code' in that paragraph was certainly
unintentional and now I understand how much difference it makes, I will of
course update that.

I'll also update the examples.

We originally had a paragraph that recommended using the highest level of
categorisation for language tags to get an improved interoperability but
this was later removed. I think the original assumption was that matching
preferred languages with the tag values would be difficult if script codes
and country codes were also included. This is probably not the case.

Thanks again,

Nik.

On 17 August 2017 at 14:21, Nik Tomkinson <rfc.nik.tomkinson@gmail.com>
wrote:

> Hi,
>
> Thanks for your comments.
>
> I will try to address these (and the other comments) and respond later
> today.
>
> Nik.
>
> On 17 August 2017 at 11:15, Alexey Melnikov <aamelnikov@fastmail.fm>
> wrote:
>
>> Hi Adam,
>>
>> On Thu, Aug 17, 2017, at 10:54 AM, Adam Roach wrote:
>> > On 8/17/17 4:29 AM, Alexey Melnikov wrote:
>> > > Hi Adam,
>> > >
>> > > On Thu, Aug 17, 2017, at 12:50 AM, Adam Roach wrote:
>> > >> Adam Roach has entered the following ballot position for
>> > >> draft-ietf-slim-multilangcontent-13: No Objection
>> > >> I note that this mechanism uses only language tags and implicitly
>> leaves
>> > >> aside
>> > >> any discussion of script or region tags.
>> > > Actually this is not true. Language Tags as specified in RFC 5646 can
>> > > optionally include all of these things.
>> > >
>> > >> I'm going to assume this was a
>> > >> intentional decision that was considered by the group with the end
>> result
>> > >> being
>> > >> that there was no perceived need to distinguish between (e.g.) Latin
>> and
>> > >> Jawi
>> > >> scripts for Malay, or (e.g.) Brazilian and Portuguese variations of
>> 'pt'.
>> > >> (If
>> > >> this was not an explicit decision made by the WG, I would ask that
>> it be
>> > >> posed
>> > >> to the WG for an explicit decision -- the current mechanism seems
>> > >> somewhat
>> > >> deficient in this regard from my admittedly brief analysis of the
>> > >> situation.)
>> > >>
>> > >> I'm a little worried that an imprecise reading by implementors of the
>> > >> citation
>> > >> to RFC5646 may lead them to believe that script and region tags may
>> be
>> > >> included
>> > >> in the Content-Language header fields.
>> > > They are absolutely allowed.
>> >
>> > Wow. If I had gone to implement this, I would have gotten it 100% wrong,
>> > and argued with anyone who told me as much. The document says:
>> >
>> >     The Content-Language MUST comply with RFC 3282 [RFC3282] (which
>> >     defines the Content-Language field) and BCP 47/RFC 5646 [RFC5646]
>> >     (which defines the structure and semantics for the language code
>> >     values).
>> >
>> >
>> > What is worth taking note of here is the fact that this says "language
>> > *code* values," not "language *tag* values." RFC 5646 defines a Language
>> > _Tag_ (e.g., "sr-Latn-RS"), that is composed of a Language _Code_ (e.g.,
>> > "sr") followed by an optional Script Code (e.g., "Latn") and an optional
>> > Country Code (e.g., "RS").
>>
>> Good point. Content-Language is defined for language tags, we didn't
>> change that. I don't think the above difference was intentional.
>> Authors?
>>
>> > As if to reinforce this, the examples then show values of the
>> > Content-Language header field that consist exclusively of language
>> > codes, even though it predominantly uses two languages with regional
>> > variations (en and es): to my eye, "en" by itself looks strange, as I'm
>> > used to always seeing that language written as either "en-US" or
>> "en-GB".
>> >
>> > So I would suggest (a) the passage above be changed to say "...for the
>> > language tag values...", and (b) the examples be amended to show more
>> > than simple language codes; e.g.:
>> >
>> >     Content-Language: en-US
>> >
>> >     Content-Language: de
>> >
>> >     Content-Language: es-ES, fr
>> >
>> >     Content-Language: sr-Cyrl
>>
>> Yes, good idea to use better examples.
>>
>
>
>
> --
>
> -----------------------------------------------------------------
> Multiple Language Content Type Internet Draft:
>
> https://datatracker.ietf.org/doc/draft-ietf-slim-multilangcontent/
>
> -----------------------------------------------------------------
>
>


-- 

-----------------------------------------------------------------
Multiple Language Content Type Internet Draft:

https://datatracker.ietf.org/doc/draft-ietf-slim-multilangcontent/

-----------------------------------------------------------------