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: Sat, 9 Mar 2019 00:11:24 +0900 Message-ID: <2539FAB2-2D71-44F5-B8D9-2C4AFE52ACEC@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> <83mum6bv11.fsf@gnu.org> <87zhq6nwsi.fsf@mail.linkov.net> <8336nxbxfi.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="19749"; mail-complaints-to="usenet@blaine.gmane.org" To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 08 16:12:16 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 1h2HAT-0004z0-6b for ged-emacs-devel@m.gmane.org; Fri, 08 Mar 2019 16:12:13 +0100 Original-Received: from localhost ([127.0.0.1]:45437 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2HAR-0005tS-Uw for ged-emacs-devel@m.gmane.org; Fri, 08 Mar 2019 10:12:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h2H9s-0005t1-9v for emacs-devel@gnu.org; Fri, 08 Mar 2019 10:11:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h2H9q-0000Dj-II for emacs-devel@gnu.org; Fri, 08 Mar 2019 10:11:35 -0500 Original-Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]:33695) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h2H9q-0008Nr-AX for emacs-devel@gnu.org; Fri, 08 Mar 2019 10:11:34 -0500 Original-Received: by mail-pf1-x435.google.com with SMTP id i19so14375774pfd.0 for ; Fri, 08 Mar 2019 07:11:30 -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=yi/2AIlUBuFBXmzoOw0CNzKvwxss+JrvB8sumetBp/M=; b=UiEmmJD0Z5Rm78HJp8a/nXAwNtj5q4NrFoVoWm2/YQcpqnE+PkAhn7YCX/p7das498 +tZOMy6z8oz07ukmcVckJv6x6F9BA/GxOY+xjvNnG6jVyYW8LaU92ov+ZABzr1/CdFVJ NyNoLJJkAZET57nnl2bKgb53MDA3Ea9uwwVex2B2o3iwFCx7a88X2PYFmsPfJnDc3hf9 1qcYQDhODT5rB2jN8e7qkKmEaEv0nsev+YL8bM6z78tcBJepntGrd4Jp4rX7xVGOzNXZ v9ZbgQdKjBS0j2oCjUb6LktAi9gdOqIZsJad2H5LfKs2jucrnpyo8rcB20P3IePDltdX t7rA== 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=yi/2AIlUBuFBXmzoOw0CNzKvwxss+JrvB8sumetBp/M=; b=p8UXUhyzim8dUkI7RByIK2p5ciEE4t+BKLE2HVgUg/Rlvv7xSA/jFYoahgAqr/Qq4Y /bJmgxa7xOQxm0Ta5uC69HOfDk4o3qN4dQc2MSv2JiTNXl4LXp7aR9ZTqUs5ClXIuEBG pUjAFe8dJCEPU5XTK2Wbb7tJgTO++3SGRpvLAUbPsdqxvXEDdjuxX6s9a+6/1Xbp4SRN pbnQKYdndR1hkTnJc1LXAjF+heEYB+guJa9bQ2HhC6sreRIW2p/c5aqhyy/MW9MOeHpF OkvxRL5X54JSL/OANFaWSowrCOmInqzLS58ykeb4PckYD5FnSbYsc1GnQGA2XFWQ8KN+ RRCg== X-Gm-Message-State: APjAAAWB58tnzAmSl9rhGoruAz6HsQ+GXJStOZzuUyzr0dQZ9s5p/L67 Wqkz7ZHFjfb26vbr+gAlL8If+UYv X-Google-Smtp-Source: APXvYqwSQnBfE5OLD5S8tvAqGOjzxl+jLXxJv8hWB6L0lmUCeMR/R8LCZ0mGv1mK22UunwUnJUWmlQ== X-Received: by 2002:a17:902:e5:: with SMTP id a92mr8766254pla.326.1552057889137; Fri, 08 Mar 2019 07:11:29 -0800 (PST) Original-Received: from [192.168.43.108] (y175126.ppp.asahi-net.or.jp. [118.243.175.126]) by smtp.gmail.com with ESMTPSA id 33sm20383528pgs.81.2019.03.08.07.11.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Mar 2019 07:11:27 -0800 (PST) In-Reply-To: <8336nxbxfi.fsf@gnu.org> 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::435 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:233930 Archived-At: > On Mar 8, 2019, at 17:08, Eli Zaretskii wrote: >=20 >> From: Jean-Christophe Helary >> Date: Fri, 8 Mar 2019 10:48:46 +0900 >>=20 >> I think what really needs to be discussed is: >>=20 >> =E2=80=A2 which strings do we extract >> =E2=80=A2 how to rewrite the mix of code and strings >> =E2=80=A2 how to extract the resulting strings >> =E2=80=A2 how to process the translations for display in emacs >=20 > Extraction is just a technicality, it can be done in either of several > possible ways. Sure. I just meant that l10n issues (is PO "efficiency", etc.) are = already solved, but i18n in general has to be implemented from scratch. > And I don't understand what problems you see in the last item: what > should be done there other than display the translated string with > 'message' or insert it into the *Help* buffer? As I wrote above: we have to implement everything from scratch. > So I think you are bothered by stuff that is largely non-issues. The > most important issues IMO are different: (a) what methodology of > extracting/marking translatable strings to choose so that this job > doesn't become infeasible; That's my 3 first points elegantly combined into one :) > and (b) how to arrange the message catalogs > so that they will be easy to maintain and update, given the modular > nature of Emacs. I'm not sure what you mean in "how to arrange ..." Do you mean: how to = provide the l10n packages to translator communities ? > I think we should also take a better look at how the > built-in help facilities generate documentation and other displayable > strings from symbol names. Macros such as define-minor-mode should > also be scrutinized to see if there are some special problems there. >=20 > Once this is done, the methodology decided, and the necessary tools > are available, the rest is just more or less mechanical work to > convert more and more parts of Emacs. Can't we start with a survey of the strings we want extracted in a given = number of emacs core packages ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune