Re: [Jmap] JSContact: gender property

Robert Stepanek <rsto@fastmailteam.com> Mon, 03 January 2022 16:21 UTC

Return-Path: <rsto@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1684B3A0798; Mon, 3 Jan 2022 08:21:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.124
X-Spam-Level:
X-Spam-Status: No, score=-0.124 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DEAR_SOMETHING=1.973, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fastmailteam.com header.b=TRo8zMnq; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=lOKyo9mY
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 wKjYu-2FQwSi; Mon, 3 Jan 2022 08:20:57 -0800 (PST)
Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 665DB3A0793; Mon, 3 Jan 2022 08:20:57 -0800 (PST)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 560743200C4A; Mon, 3 Jan 2022 11:20:54 -0500 (EST)
Received: from imap43 ([10.202.2.93]) by compute6.internal (MEProxy); Mon, 03 Jan 2022 11:20:54 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=mime-version:message-id:in-reply-to :references:date:from:to:cc:subject:content-type; s=fm1; bh=m+qb U4XNpHAlftg3ZYdpp9hRf0TddjFKzgoTEMbqAVM=; b=TRo8zMnqnX/aMTWE2UkD M53xiw8e+EwTGRX1lXaINz1SMc6kSZYWTnLx9JsZ7t+eaj7iPMxkQro+TCyJhYe8 0w3BSggmqKzxDezXLBN/Z2yHOGA+LpCTsaPPDh9xPXr7dnUs4qOjli5RP/da4hY6 1t6P++3FnGO0tX5BkT6wk12N9wBH+kvyTAHG0F5WFw+EYW6E0hKSfU03POCg4vAo HMFr2w481bBKgTFp/zmLTZj1ElPYWpRDzQRHPBKViPB2pD3jpQLwLA52GlXf4mQN wcDDHvhkSdAdo1KI2QhoM6/sJHTNT0y1QWPoHyfp95NVphtl5eoQytzTGNQMKOJu 5w==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=m+qbU4 XNpHAlftg3ZYdpp9hRf0TddjFKzgoTEMbqAVM=; b=lOKyo9mYx6Xze7i2z+fLw/ zYSrjyZLQpPlkX/NEygob4JNCK/MSj88O8t/zBqgZmWHzreIE7xaXkab8dfetw4g 2FW0Hm862CPlJSQLXJ5NB8Dx9qc8DkMZf5xWowu6LbrB1/c47keX+l/mVX318o/S 0U70uismrnTEhn9r2lnTrpcvshHRG1fu8yirhfOc9TJnuCzv5jLIlzja/clbkKyU InIIjsew1QDZ8NCPHk5zD1ayhl+EaG5OWj/pCUd2zodxJbAyGcTu9rKu5sgVqiF7 RTJnChHRIueSAiwQNdA5hpE1wfPSNJi9cpjIEouY+TGe7vQFHJQ25Da8VoAGFT2Q ==
X-ME-Sender: <xms:ZSLTYRiiIMbZrKyS8liNqchCtgNZHniGDP_fjQmzyNSbPmrYEWNfew> <xme:ZSLTYWCwnDPv8R-yl-M2qO-tEDJEpLkUWfItd_VJIAbPJox5IKmrUzlLs55iR9YB- Jm_XMksmiTiow>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrudefuddgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesrgdtreerreerjeenucfhrhhomhepfdftohgs vghrthcuufhtvghprghnvghkfdcuoehrshhtohesfhgrshhtmhgrihhlthgvrghmrdgtoh hmqeenucggtffrrghtthgvrhhnpefgheeuhfetuedthfejiedvheelleeufefggffftdeu tdfgvdfhfeeffefgheeggfenucffohhmrghinhepuhhnihgtohguvgdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehrshhtohesfhgr shhtmhgrihhlthgvrghmrdgtohhm
X-ME-Proxy: <xmx:ZSLTYRGxDZCC9bYRAweX9y_sC2kv_9tFCEA4pn_ruEjJ8I1BWaxE2Q> <xmx:ZSLTYWQWeeHdxePXDXq-QFyQ7GvQIAvHryfyiPv9Yo1INluGr-Kn2A> <xmx:ZSLTYewkIGMSIam09j1pXxIG6cxVmLno52x8juJ7_jm-w3272lZC-w> <xmx:ZSLTYUZ_f2GUqiGd7j6YHKQhv4X-vmuaKMjM-WWH8i7mtq1xZNoqrg>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 76694AC0E99; Mon, 3 Jan 2022 11:20:53 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-4525-g8883000b21-fm-20211221.001-g8883000b
Mime-Version: 1.0
Message-Id: <fbeabe73-91cd-4fd8-b932-f80c1373b6cd@www.fastmail.com>
In-Reply-To: <E971A616-867E-4F2F-8BD2-31CEEB70D260@LMU.de>
References: <d78004af-bd2e-4d26-a5fc-174d2e5da0e3@www.fastmail.com> <E971A616-867E-4F2F-8BD2-31CEEB70D260@LMU.de>
Date: Mon, 03 Jan 2022 17:20:33 +0100
From: Robert Stepanek <rsto@fastmailteam.com>
To: Andreas Hauser <Andreas.Hauser@LMU.de>
Cc: jmap@ietf.org, calsify@ietf.org
Content-Type: multipart/alternative; boundary="9d3b2da4985041d9995b8a227feb6f88"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/TxLt4wGn0CDC_niwQBWU5j0uDf0>
Subject: Re: [Jmap] JSContact: gender property
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 03 Jan 2022 16:21:02 -0000

Hi Andreas,

On Thu, Dec 23, 2021, at 3:51 PM, Andreas Hauser wrote:
> Not only is there grammaticalGender but also salutations often differ based on relationship, like "Dear Robert" / "Dear Sir“ or „Lieber Robert“ / „Sehr geehrter Herr Stepanek“.

Agreed (I am a German native speaker, too).

> To make this most useful in practice, a field for salutation might be considered, taking variables for first name (e.g. %FN), nick name and last name (e.g.%LN): „Dear %FN“, „Dear Professor %LN“ etc.

I agree with Neil that the JSContact spec does not seem the right place for this. Such templates should rather go in the applications and services that build on the contacts data. Note that some of the template language that you suggest is covered by the Unicode Person Name Formatting spec: https://www.unicode.org/review/pri434/ We made sure that the naming properties in JSContact use the same terminology to interoperate with that PRI434.

What we might consider instead is to allow setting modifiers on the grammatical gender:

grammaticalGender:
  - gender:  ("animate", "female", ...") (mandatory)
  - modifiers (optional): list of
      - value
      - type ("formality", "deixis", "number")
   
where

"formality": allows values "intimate", "familiar", "distanced"
"deixis": allows values "proximal", "medial", "distal"
"number": allows "singular" and "plural"

This should cover a good number of human languages. However, I am not a linguist and I am afraid none on this mailing is either?

Cheers,
Robert