From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs i18n (was: bug#34520: delete-matching-lines should report how many lines it deleted) Date: Sun, 03 Mar 2019 22:27:36 -0500 Message-ID: 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> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109564"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 04 04:27:51 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 1h0eGd-000SOD-HL for ged-emacs-devel@m.gmane.org; Mon, 04 Mar 2019 04:27:51 +0100 Original-Received: from localhost ([127.0.0.1]:47537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0eGc-0008Tl-Cq for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2019 22:27:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0eGP-0008Sk-4k for emacs-devel@gnu.org; Sun, 03 Mar 2019 22:27:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h0eGO-0000NJ-Uv; Sun, 03 Mar 2019 22:27:37 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1h0eGO-0007wg-Pq; Sun, 03 Mar 2019 22:27:36 -0500 In-Reply-To: <83h8ckezyt.fsf@gnu.org> (message from Eli Zaretskii on Sun, 03 Mar 2019 17:31:54 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:233810 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > This has come up several times in the past. The main problem with > i18n in Emacs is that, unlike in many text-mode programs, 'message' > covers a tiny portion of the Emacs UI. We have help commands that pop > up buffers; we have commands that prompt in the minibuffer; we have > menu items and labels on tool-bar buttons; we have help-echo on menus, That is quite true. However, I recommend a different approach to doing the job. An incremental one. Let's install the lookup code and make `message' call it -- not using advice. Perhaps we should rewrite it into C, since it is short and we will want to call it from C code. Let's develop something to load translations from po files. Let's develop software to generate and write lists of messages that need translating. Then people can start developing useful sets of translations. Meanwhile, we can also hook it into other interfaces where it appropriate. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)