Re: [I18ndir] Writing direction

Asmus Freytag <asmusf@ix.netcom.com> Mon, 16 May 2022 21:18 UTC

Return-Path: <asmusf@ix.netcom.com>
X-Original-To: i18ndir@ietfa.amsl.com
Delivered-To: i18ndir@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32C6FC2CE8D3 for <i18ndir@ietfa.amsl.com>; Mon, 16 May 2022 14:18:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.756
X-Spam-Level:
X-Spam-Status: No, score=-3.756 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, NICE_REPLY_A=-1.857, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=earthlink.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j125pNzKu9MI for <i18ndir@ietfa.amsl.com>; Mon, 16 May 2022 14:18:19 -0700 (PDT)
Received: from nmtao201.oxsus-vadesecure.net (mta-201a.oxsus-vadesecure.net [51.81.229.180]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 44BECC2CE8CE for <i18ndir@ietf.org>; Mon, 16 May 2022 14:18:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; bh=ZZOu84Eqiyz+cX1yRHkwPodO0QnQkZXaqKPVis BqkI4=; c=relaxed/relaxed; d=earthlink.net; h=from:reply-to:subject: date:to:cc:resent-date:resent-from:resent-to:resent-cc:in-reply-to: references:list-id:list-help:list-unsubscribe:list-subscribe:list-post: list-owner:list-archive; q=dns/txt; s=dk12062016; t=1652735879; x=1653340679; b=bFDt5mBUeNyNlO0gdCjhDQYOKzZOpOH/oOdaYB/7yZmTdQn5IwnrvD4 Gjmxi1diOTSpE1XqSX9yH4Vh3mtvj+BJZmjso28uHkJ+sE+ZdwLyMIchfpMMySCzeTn68+p nv8dO9Od6JznfKukrF/Kj5zvslb8VaR8TkmJtVH7Nc1iVO67a0TFJu0Nmnp4jskhrofRXAP pDtW0wK1bnclBvPmp998f1u1v+klnHxTi/gT0i43Oyx87mWVsx+yVpB9Wm8VibaxUGHRPMv yat1Go+/1HuSfocLnjBdBxDpi1ENZDUlSaxxOiGorygP/Ukj/eebE1IJjQonunjS6vqQtFT vLA==
Received: from [10.71.219.206] ([142.147.89.204]) by smtp.oxsus-vadesecure.net ESMTP oxsus2nmtao01p with ngmta id 8e2b3a2a-16efb28692e35e15; Mon, 16 May 2022 21:17:59 +0000
Content-Type: multipart/alternative; boundary="------------V2d0CVaIot1DQduD2fPx0Uo9"
Message-ID: <d49001bf-057d-8eb5-a92c-fc37d96ab864@ix.netcom.com>
Date: Mon, 16 May 2022 14:17:57 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0
Content-Language: en-US
To: John C Klensin <john-ietf@jck.com>, i18ndir@ietf.org
References: <4C4A249559BA1E86B17E53FE@PSB> <26ca6aba-eb4a-6bc6-af96-8c7db9b3631d@ix.netcom.com> <EDBC11DA94E825A663D89119@PSB>
From: Asmus Freytag <asmusf@ix.netcom.com>
In-Reply-To: <EDBC11DA94E825A663D89119@PSB>
Authentication-Results: oxsus-vadesecure.net; auth=pass smtp.auth=asmusf@ix.netcom.com smtp.mailfrom=asmusf@ix.netcom.com;
Archived-At: <https://mailarchive.ietf.org/arch/msg/i18ndir/-4Xn2sNkdYPsVDLbvTpnhEpJ3ZU>
Subject: Re: [I18ndir] Writing direction
X-BeenThere: i18ndir@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Internationalization Directorate <i18ndir.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/i18ndir/>
List-Post: <mailto:i18ndir@ietf.org>
List-Help: <mailto:i18ndir-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i18ndir>, <mailto:i18ndir-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 16 May 2022 21:18:20 -0000

On 5/16/2022 12:25 PM, John C Klensin wrote:
>
> --On Monday, May 16, 2022 11:33 -0700 Asmus Freytag
> <asmusf@ix.netcom.com>  wrote:
>
>> John,
>>
>> you are correct that any operation that's limited to the
>> backing store does not need to know the directionality.
>>
>> Anything you want to display, on the other hand, benefits from
>> knowing the display direction.
>>
>> A directionality tag on BCP47 would have the advantage that
>> you don't need an extra field that's needed only some times.
>> However, it opens the issue of what happens when a protocol
>> uses the existing BCP47 *and* has a separate field for
>> specifying directionality.
> I actually think that is fairly straightforward although I agree
> it should be spelled out.  Cases:
>
> (i) Protocol exists, specifies directionality via some separate
> field or markup.
>      --> keeps doing what it has been doing since it will not
> recognize the extension.
OK
>
> (ii) New protocol comes along and specifies directionality by
> use of the extension.
>      -->  Obviously (I hope) uses the extension field.

OK -- that is: SHOULD use the extension field if data is displayed
as part of the protocol or by some process that uses the protocol
fields to figure out parameters for display.

>
> (iii) Older protocol, with directionality specified as in (i),
> is revised.   Now it seems to me that those doing the revision
> have three choices:
Unless data is never displayed,...
> (a) Stick with the status quo/old way to do
> things,
OK
>   (b) deprecate the old method and specify use of the
> tag extension, or
OK (with your caveat)
> (c) allow either and specify what happens if
> both are provided and not consistent.  Absent plans about a flag
> day or sufficient changes to really create two separate
> protocols (the "old" and "new" ones) in the same general space,
> I don't know of a practical way to do (b), but it is logically
> possible.

OK: specifically, may designate one as "default" and the other as 
"override".

Consider HTML. An obvious choice would be to allow such an extension to 
set a default direction, so that directional markup becomes redundant 
(only required to override the default).

That would seem to increase the chances that display is correct.

Would have to address http vs. html specification of language ID, does a 
language ID w/o extension override a later ID that lacks an extension? 
Only if it's the same language would be my guess. Otherwise you'd end up 
defaulting to RTL when English is embedded in Arabic, but the English 
language tag doesn't carry direction.

A./

>
>> Some care in working out this edge case will go a long way to
>> making this proposal workable.
> Is something along the lines of the above sufficient?
>
>      john
>