From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Emacs i18n Date: Fri, 08 Mar 2019 00:29:17 +0200 Organization: LINKOV.NET Message-ID: <87zhq6nwsi.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109061"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: eggert@cs.ucla.edu, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 07 23:32:31 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 1h21Yz-000RxY-D1 for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2019 23:32:30 +0100 Original-Received: from localhost ([127.0.0.1]:60445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h21Ys-0004iQ-Hl for ged-emacs-devel@m.gmane.org; Thu, 07 Mar 2019 17:32:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h21YI-0004i4-1y for emacs-devel@gnu.org; Thu, 07 Mar 2019 17:31:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h21YG-0002HI-Vm for emacs-devel@gnu.org; Thu, 07 Mar 2019 17:31:45 -0500 Original-Received: from bird.maple.relay.mailchannels.net ([23.83.214.17]:22610) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h21Y7-0001jm-Nx; Thu, 07 Mar 2019 17:31:43 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 22D693E41C5; Thu, 7 Mar 2019 22:31:32 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a44.g.dreamhost.com (unknown [100.96.36.131]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id AC7013E42F8; Thu, 7 Mar 2019 22:31:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a44.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.3); Thu, 07 Mar 2019 22:31:32 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Blushing-Lonely: 0643a8042d7e242b_1551997891913_272743047 X-MC-Loop-Signature: 1551997891913:3310629116 X-MC-Ingress-Time: 1551997891913 Original-Received: from pdx1-sub0-mail-a44.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a44.g.dreamhost.com (Postfix) with ESMTP id 64A36805FB; Thu, 7 Mar 2019 14:31:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=A66GjCNwF9X3qhuqi4mKP2Ugfww=; b= CVNbD01uSCys9my9e6z1tfxNLrHBNQaLnKw9LSAobdjzknsYPH0bpq2/B0ZGxGPa obPIYUsdLPSbzIQpyFxJBrpEaMaoZYaRGZQFasmYWL98/dSn3nx8hMJD12jcO+iz tZByo1TNQWbivVcN9tG3/rSVHs2dpYro7eiebeTy0Kw= Original-Received: from mail.jurta.org (m91-129-104-138.cust.tele2.ee [91.129.104.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a44.g.dreamhost.com (Postfix) with ESMTPSA id 813D3805F3; Thu, 7 Mar 2019 14:31:27 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a44 In-Reply-To: <83mum6bv11.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 07 Mar 2019 16:48:10 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedutddrfeekgdduieeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdegrddufeeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtgedrudefkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 23.83.214.17 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:233899 Archived-At: >> I think it would be most natural to handle doc strings through >> a special mechanism. > > Up to a point, perhaps. We still should try to use .po files for > them, if at all possible, and perhaps also the gettext code that > supports looking up strings in .gmo catalogs generated from .po. The PO format is best suited for translation of one-liners like messages and menu items, but I doubt that the PO format would be the most efficient implementation for multi-line doc strings since gettext uses the whole text of the doc string as a key to translation. Whereas more efficient would be to use a Lisp symbol (function or variable name) as a translation key.