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: Tue, 23 May 2017 12:38:29 +0900 Message-ID: <6BED2506-B1C2-4005-AFDE-2BF04209F16C@gmail.com> References: <2623E5C5-4D40-4C9F-BFF6-181D2E69F984@gmail.com> <831srgnuyc.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 1495510731 32055 195.159.176.226 (23 May 2017 03:38:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 May 2017 03:38:51 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 23 05:38:45 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 1dD0ej-0008Em-Hs for ged-emacs-devel@m.gmane.org; Tue, 23 May 2017 05:38:45 +0200 Original-Received: from localhost ([::1]:45982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD0ep-0001Cd-6S for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 23:38:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD0ee-0001BA-Fs for emacs-devel@gnu.org; Mon, 22 May 2017 23:38:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD0eZ-0002BK-K6 for emacs-devel@gnu.org; Mon, 22 May 2017 23:38:40 -0400 Original-Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]:33250) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dD0eZ-0002AS-ET for emacs-devel@gnu.org; Mon, 22 May 2017 23:38:35 -0400 Original-Received: by mail-pf0-x22e.google.com with SMTP id e193so100827311pfh.0 for ; Mon, 22 May 2017 20:38:35 -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=9FEhS1UwjqbPXEuGNe7mP1l/pJDDoXjnTEVQGmzyRMg=; b=o8ueIUv1DToG6+hh3RH4SPffXURQGB4ES27UhAS969H4gCVfAzZd2GEKl5aSVEPmMK 1pjDqtJmfq2LSrz+91zZZ9EQ+Fhyl5JJ5/LechAd42vjv54MoKEJaV9ha8Ry0te/e6eN sMic7945i0ws4Rksd2NaAXnMJtXB5erRq41k0OdK+nPScQJqlGHQUe4OmOJFhtflBXvL JLS99yRnRkGZ5Mp5i9PKNLHnftDZqL9x0ykAbkdSF4X3yARNumj5jN5iR9sIHIaagVGx UStVFZoArJRFzXlaI4r7/+4lg7HDWXeb8OV+2HfmyU0UmoDWcHdgAW1rjlTTSq+BKKes 8PGQ== 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=9FEhS1UwjqbPXEuGNe7mP1l/pJDDoXjnTEVQGmzyRMg=; b=js6/tK8hd1uX4mkzECRNDK7L6+rOScWmJJHg3EpimR/bkYpvducSosuAIOEBPKdroW +1HfyzqaizxROpbFauzgNmRsE1Vo0RVC3TPGp2OAVlYdwdR07GLqB/Jnj5Hq7gd0d85d 36J9oB6C031ranrez+SlYMaRNIq8uE7pCPbniSK7U9YltgwusCZHl0bMpzVueZ8YTohx q3ShFWksp8Rfq0rHSGQ3H837IOeAdX8FBxxp0//Mei1jmQgZb/1xqNQTm2AGNUlcH3sI nuKsaPUH9hma3ZsctLU8Nfg0jMw4nDTGZnI3/YW0Z3PCEqCGirQ96IKn4oKyHqxo/XIY fOeQ== X-Gm-Message-State: AODbwcDjE9Qdw5e4psRrehugCRoledqtWDEhdZP0GxPKomQnoPMoxAIn uTJTR1X6B4ShbxGfJPk= X-Received: by 10.84.142.129 with SMTP id 1mr32668583plx.84.1495510714366; Mon, 22 May 2017 20:38:34 -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 s63sm33163122pgb.40.2017.05.22.20.38.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 20:38:33 -0700 (PDT) In-Reply-To: <831srgnuyc.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::22e 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:215117 Archived-At: > On May 23, 2017, at 11:55, Eli Zaretskii wrote: >=20 >> I'm currently going through package.el and the easiest solution I = have for now is replace things like "%d package%s to install" (where %s = is "s" depending on whether %d is greater than 1...) into "Number of = packages to install: %d.". >=20 > Just replace it with 2 different spellings dispatched by the number. I know we don't have l10n now, but what you propose is also based on the = grammatical assumption that we have only 2 possible forms so I would try = to avoid that too. >> So, as I just wrote, I'm working on package.el right now and I'll = submit a patch, and when I'm done, I'd like to see what kind of = mechanisms we have (or we need to create) to extract strings and use = localized ressources. >=20 > So for now let's fix this bug in the most direct and "unclever" way we > know of. Ok, I'll do it. > We don't have any mechanisms that I know of, and won't have until the > large part of the i10n issues is resolved by motivated individuals. I guess I just found something to do in the coming months... :) 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. Once we have the strings right, we'll worry about the other mechanisms = that lead to the internationalization of the packages. Jean-Christophe=20=