From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.devel Subject: Re: Emacs i18n Date: Thu, 7 Mar 2019 13:35:30 +0900 Message-ID: <507BBC71-4E90-476A-9F1D-E0D7F0EB56C9@gmail.com> References: <87o97aq6gz.fsf@jidanni.org> <87tvgoud56.fsf@mail.linkov.net> <83o96wk2mi.fsf@gnu.org> <87k1hjfvjd.fsf@mail.linkov.net> <871s3p0zdz.fsf@mail.linkov.net> <83h8ckezyt.fsf@gnu.org> <83o96qegv1.fsf@gnu.org> <32b1ab1b-bef4-629a-8830-b1dcc6915087@cs.ucla.edu> <83a7iae9va.fsf@gnu.org> <05ed2dec-2a84-f7dc-1af5-c9d923992785@cs.ucla.edu> <87bm2p56gu.fsf@mail.linkov.net> <838sxrdgco.fsf@gnu.org> <831s3jdbrk.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="119137"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 07 05:36:49 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h1klz-000Un6-3x for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2019 05:36:47 +0100 Original-Received: from localhost ([127.0.0.1]:45126 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1klx-0002nW-7K for ged-emacs-devel@m.gmane.org; Wed, 06 Mar 2019 23:36:45 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h1klL-0002nF-L6 for emacs-devel@gnu.org; Wed, 06 Mar 2019 23:36:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h1klK-0000GD-Au for emacs-devel@gnu.org; Wed, 06 Mar 2019 23:36:07 -0500 Original-Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:39196) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h1klK-0000Fz-3w for emacs-devel@gnu.org; Wed, 06 Mar 2019 23:36:06 -0500 Original-Received: by mail-pf1-x42d.google.com with SMTP id i20so10415476pfo.6 for ; Wed, 06 Mar 2019 20:36:05 -0800 (PST) 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=u1NenbBYDqPfvG8FkXtDZpEWXC6XkiTxWi5WIKFSd5Y=; b=KBZetkoEUGYWLkTrYyuPrPwCrIEApaBynT+RCuZz2Mgyru9bOtmrpJ480gO1x7U+Kh usdHmyicarC8emwq7CF7P/EHcxc0q8rm1HoRzhkXZ6xxjuKfcLf5ztcdEdtMha8hKPdf qs+aDFN9pG0wXjHp1QyEdLxdA7GhOvTnmNU0QM0955t2IWdc6nFLxfnJL5mlK0RfPRqv Soo+8F+tL7LgRDSvofNUZu5ch553z9sLyFtIIfnxL9GhCeT3dFgDsUV8Six2hO5diPcs olCGiZcmRGnT03wqfybkbUB/nN99CVG9S+Hn47uS43/9JYZVftlczeXdDLTOkdD+KrCf dFkQ== 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=u1NenbBYDqPfvG8FkXtDZpEWXC6XkiTxWi5WIKFSd5Y=; b=n0QzrgnNCIt6HlZHC4PJhFdAAul6102p/2aQsTLRhG2duIPNiUF5OpSP/yy24p/8z8 ZTBwZSxMEbDS5Zbh+iXIMx6idRyU+WmH7QfnIKzyaPG9NIQe8p5VuRLnzk2WpAC7hIUr iCm4G0FlURAqXeEXrBmbgvJu/3oj5vFR106bclVQ3HeSvt77COPvs3z2sVHPXTKZMsad qcRU33tHnmf9UJ2nigPfM+3T5yoej73BQ3oeLzLY5pJpXLx52dv/s+ThOMyhPvBYvX0Z MAnhriuwn9tWasznQZkUBqovSYFizyg9sIdWUTtdMtOX7fmzuvbfC5lKsAAVQAa8lHUw BnhA== X-Gm-Message-State: APjAAAUOBLFXdUVzhdJdGCGo9cAXvqbzhGPSHv4DEY1lJmrerlQE3/wF Lv+pqJkjbSOGk7LidfFM9CcLevkk X-Google-Smtp-Source: APXvYqxQJax2JYOnD+/RLxYXJYef2jjXlOixVYoTVR1Xocxy9wBJmA3ageRczdb3UsyZ+c84jDVxEg== X-Received: by 2002:a63:4a4d:: with SMTP id j13mr9437165pgl.16.1551933364021; Wed, 06 Mar 2019 20:36:04 -0800 (PST) Original-Received: from [10.254.2.147] ([210.160.37.46]) by smtp.gmail.com with ESMTPSA id x15sm4765035pfn.74.2019.03.06.20.35.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Mar 2019 20:36:03 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3445.102.3) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42d 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:233882 Archived-At: > On Mar 7, 2019, at 10:33, Paul Eggert wrote: >=20 > On 3/6/19 11:49 AM, Eli Zaretskii wrote: >> We are miscommunicating: I meant strings passed to 'message' and its = ilk, not just any kind of strings. >=20 > In that case, the solution that Richard proposed should suffice for = most cases. That is, in most cases we shouldn't need to change the Elisp = source code; all we need is for xgettext (or its equivalent) to consider = the first argument of 'message' to be a translatable string. This is a = standard feature of xgettext (see its --keyword argument). Yes but... The first argument of message is often a lisp expression that = generates natural language strings programatically. That part will have = to be modified (although far from perfect, please check what I did on = packages.el if what I wrote above is not clear). ps: what is the proper way to reply to this list ? Keep everybody in Cc = or remove the Cc and only keep the list address ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune