From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: Before l10n, better practices for (message) ? Date: Wed, 24 May 2017 07:00:46 +0900 Message-ID: References: <2623E5C5-4D40-4C9F-BFF6-181D2E69F984@gmail.com> <831srgnuyc.fsf@gnu.org> <6BED2506-B1C2-4005-AFDE-2BF04209F16C@gmail.com> <83zie3mndz.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495576857 20553 195.159.176.226 (23 May 2017 22:00:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 May 2017 22:00:57 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 24 00:00:53 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dDHrJ-0005Fq-03 for ged-emacs-devel@m.gmane.org; Wed, 24 May 2017 00:00:53 +0200 Original-Received: from localhost ([::1]:51711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDHrO-0000rv-DU for ged-emacs-devel@m.gmane.org; Tue, 23 May 2017 18:00:58 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDHrI-0000rm-9p for emacs-devel@gnu.org; Tue, 23 May 2017 18:00:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDHrF-0007g1-63 for emacs-devel@gnu.org; Tue, 23 May 2017 18:00:52 -0400 Original-Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:36584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDHrE-0007fp-Vt for emacs-devel@gnu.org; Tue, 23 May 2017 18:00:49 -0400 Original-Received: by mail-pf0-x230.google.com with SMTP id m17so126890471pfg.3 for ; Tue, 23 May 2017 15:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=jGJE3m11GREcAK9VZWQHMJnlEFum+bsmGx92ajhSTq0=; b=lXnAJOmJsYkt1yHxMNoJj/nqSnkBUA1dt7NPuej7qEHcCa2x39o8sF6egMvLpVPudN YcnSqKYB80KPD3H09Z5QNUVk2jNQu0as20UsfXpzPXOH38vsIsLRQ/A09Zs56i2s2oGa acYzEGTtm+Fy7Qy9gwBCe7+7tIg4uLtWzBve+GwVqYidLg9y4UEMjDLsc7H1EQ14n/BG YAtAjzDPYyGR33hOOe9JEeNwffFVaPZq55l+bwHaxvIuqbF+4O4uelsKgu7R5yxmk6nt oimU9o7Pz+W5XHgqohc00Q4jfyckSJyHUQ7lUphpd5TxfbM0F4Axs/oiFcgLklErNMnT 49Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=jGJE3m11GREcAK9VZWQHMJnlEFum+bsmGx92ajhSTq0=; b=OtBFHRe8lJeUvlQBVbgFtcShlrZ3Brdxmq0gWCBHASVZieq//LKBrly3XyQ3eqnvDv h8rxH1L1pAd/gROZPYM/563DnAZVJwEToWcGl0KTv819cDfRQKvalpVQP1O19uckb4EU aNu9r/2W49VEAW5vUi1OTTvtUsWqK7jOuqXhVCR4ShBLUPYxoaWGPu/V7qN0b4Kgt+2z JdIGICWytlBk42SsfEtac4JQI3gs2dzeDpDbGGQCqIWyOp3vJnfJTKxQMeMgt0slHyYz LGA4XeC/FJe3ylWiVSOyLykjOhg2SFEpCtFBi/ZqPaCRx9NUNzroTaNeJ+rr/dxJ4z+w NOwg== X-Gm-Message-State: AODbwcCbqcIWpFIEwN3yAPFZnBF34//VBRfXq2v+w4k+IG3F0Wy7MHrB Ew73mP8oZd6A7t6Bg4Q= X-Received: by 10.99.94.66 with SMTP id s63mr34034683pgb.34.1495576847565; Tue, 23 May 2017 15:00:47 -0700 (PDT) Original-Received: from [192.168.24.54] (pl25298.ag0304.nttpc.ne.jp. [133.232.153.210]) by smtp.gmail.com with ESMTPSA id r21sm3259201pfg.95.2017.05.23.15.00.46 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 May 2017 15:00:46 -0700 (PDT) In-Reply-To: <83zie3mndz.fsf@gnu.org> X-Mailer: Apple Mail (2.3273) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215143 Archived-At: > On May 24, 2017, at 3:36, Eli Zaretskii wrote: >=20 > Having 2 forms is as close to the ideal as we can have, given that we > don't have infrastructure for more complicated cases. I'm just saying that for the case we are discussing, 1 form is enough: >>>> "%d package%s to install" -> >>>> "Number of packages to install: %d." That's 1 form and that's way enough to convey the intended meaning. It's just a way to write the original string. No need to use fancy = grammar there. >> What I'll do is propose a patch for package.el that makes UI strings = the most linguistically neutral possible (within my understanding of = English), and after discussing the changes, if we can use that as a base = to create a list of "best practices", I'll use that to check the other = packages included in the distribution. >=20 > I'm not sure package.el is a good starting point. I think a much > better starting point is to design the i10n infrastructure for Emacs. I'm not considering l10n right now. Only best practices for writing UI = strings. Considering the amount of convoluted strings in package.el, I = think it is as good a start as it can be, at least for *that* purpose. I'll have a few questions regarding the last 3 pieces of string = generating code I found sometimes next week. Jean-Christophe=20=