From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?Etienne_Prud=E2=80=99homme?= Newsgroups: gmane.emacs.devel Subject: Re: Before l10n, better practices for (message) ? Date: Fri, 26 May 2017 14:54:31 -0400 Message-ID: <8737br8n4o.fsf@x230.lts> References: <2623E5C5-4D40-4C9F-BFF6-181D2E69F984@gmail.com> <831srgnuyc.fsf@gnu.org> <83vaormn2x.fsf@gnu.org> <1B4DE39C-E293-4370-9E76-82E1B7385C00@gmail.com> <83o9ugjaqd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495824921 4804 195.159.176.226 (26 May 2017 18:55:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 26 May 2017 18:55:21 +0000 (UTC) User-Agent: Emacs/25.2 (gnu/linux) Cc: Jean-Christophe Helary , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 26 20:55:15 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 1dEKOH-00010q-1T for ged-emacs-devel@m.gmane.org; Fri, 26 May 2017 20:55:13 +0200 Original-Received: from localhost ([::1]:37971 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEKOM-0001gf-Ce for ged-emacs-devel@m.gmane.org; Fri, 26 May 2017 14:55:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEKNi-0001gX-GM for emacs-devel@gnu.org; Fri, 26 May 2017 14:54:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEKNh-0001HP-P8 for emacs-devel@gnu.org; Fri, 26 May 2017 14:54:38 -0400 Original-Received: from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:35475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEKNe-0001H3-38; Fri, 26 May 2017 14:54:34 -0400 Original-Received: by mail-qt0-x244.google.com with SMTP id r58so2406335qtb.2; Fri, 26 May 2017 11:54:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=7X64PvnyYDtrTHtpixifuQ62eAWZc8vrLooKjPnFDhM=; b=RBm+wTLCGZOm7+TYNg+R/5v8qWl3iSz9X2RqYbHYStgaSmKQy+74npjQ604OHCWm5B s0NoIxWt7MgrZJ6BXkjQhspMVYcEyPCXzjQTOa50/tZJX9utV0IizFHMaMFpM3iaAhjs BDLN7dkvoWWlq50t4z165JV1tVy2RVr83GqZFyLf39K1t8xZHTaeiXDBRNaJEBfo+tll B24xNegq9mchOpvKSuuOt8I7VGI6a/qADQW7MEVAlZjU2uwSrkSSn30TN8IRJ1lG/LNJ ZpQdkbQa9bXox5aSV/CP7L8xJqZDjXZtXA5r+CcbmxjcR2BMNbc0kOAhLCzVd0/jGcWq JSQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=7X64PvnyYDtrTHtpixifuQ62eAWZc8vrLooKjPnFDhM=; b=ZsnBOVXqtBw/RNIvsraCIbiMemv9v6g5iRFApVZG3CgjpmVNLX66Hq13Js4SkJt4tJ /6l0v/uf/N9E+JFtv6jA6HRYXRes1vXuZlBZ9RbtTK5YwwqBEZkWsh9dhX8BBHyEcBFY YiLPWTVNZFRyV3O4v5o2u8NMrhp2iaPFkUkngnLWHsmO4hzqlWE3jYdM7eJ71tyODRfx BygZPmmZ1sbBKKhbkAANH0QQ53PxZJNWuwtGhRFjhwK7DxtpMUCRWW6AohU8wUSP5LVz 8VlG4IApRbc9B1k5clWz06KuVZoQ3CMzrxVNhPYhT9JHmXmOxEBuXjqT1aeXK5osMZ+5 VmfA== X-Gm-Message-State: AODbwcA1ulZKA4lsYe/Wf3kzA9o5c3gX0xQeo7o4oT0j7Bk0XyPOo0y0 up2v7Vakic8e87unO2Y= X-Received: by 10.200.3.26 with SMTP id q26mr4195450qtg.3.1495824873113; Fri, 26 May 2017 11:54:33 -0700 (PDT) Original-Received: from localhost (modemcable232.49-20-96.mc.videotron.ca. [96.20.49.232]) by smtp.gmail.com with ESMTPSA id p16sm1060969qkp.69.2017.05.26.11.54.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 May 2017 11:54:32 -0700 (PDT) In-Reply-To: <83o9ugjaqd.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 26 May 2017 11:14:34 +0300") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::244 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:215232 Archived-At: Eli Zaretskii writes: > One problem with this approach is that the programmer who writes the > original code and provides the messages in English will have to > manually create the English message catalog. Reading the =E2=80=98message=E2=80=99 documentation, I realized that the fu= nction already has the ability to use a custom face by providing the =E2=80=98face= =E2=80=99 text property. With that in mind, could we simply use a text property alike for an l18n registery (whatever we choose). One of the clear benefit would be that we won=E2=80=99t have to add function calls (or flow control) and could let =E2=80=98message=E2=80=99 manage that= for us. Maybe the registery could cooperate with gettext, maybe it could be a special type like face is. What do you think? -- Etienne Prud=E2=80=99homme