From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.comp.gnu.gettext.bugs,gmane.emacs.devel Subject: Re: Emacs i18n Date: Thu, 21 Mar 2019 03:55:10 +0100 Message-ID: <2496383.W2xi5VdGD0@omega> References: <25076895.mA2g9mTHSI@omega> <87h8bx5ijn.fsf@mail.linkov.net> Mime-Version: 1.0 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="84801"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) Cc: emacs-devel-mXXj517/zsQ@public.gmane.org, rms-mXXj517/zsQ@public.gmane.org, bug-gettext-mXXj517/zsQ@public.gmane.org To: Juri Linkov Original-X-From: bug-gettext-bounces+gcggb-bug-gettext=m.gmane.org-mXXj517/zsQ@public.gmane.org Thu Mar 21 04:09:03 2019 Return-path: Envelope-to: gcggb-bug-gettext@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 1h6o4g-000LnH-Lo for gcggb-bug-gettext@m.gmane.org; Thu, 21 Mar 2019 04:09:00 +0100 Original-Received: from localhost ([127.0.0.1]:58704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6o4f-0000LQ-Lm for gcggb-bug-gettext@m.gmane.org; Wed, 20 Mar 2019 23:08:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h6o4V-0000Iq-Kg for bug-gettext-mXXj517/zsQ@public.gmane.org; Wed, 20 Mar 2019 23:08:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h6nrX-0004xP-Di for bug-gettext-mXXj517/zsQ@public.gmane.org; Wed, 20 Mar 2019 22:55:25 -0400 Original-Received: from mo6-p01-ob.smtp.rzone.de ([2a01:238:20a:202:5301::9]:32624) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h6nrR-0004uT-1N; Wed, 20 Mar 2019 22:55:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1553136914; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=hffOPN7BO1FwIP9DkMNrE7AEgFJVOrwg0QgmTkfXRiw=; b=RH4rulDGgaIuuDlTCJL42q/MBZgc1dGbDcMO3dNrVUFJYwo0enZgPNH0qPJ+7bLVoM TsAlAnR7Y3bo/9TeAJq/EUJi4yY5mCsP1K7PiSRJwKYAiibfjNKlcNJiEccoEyZ6KepT GFn8t7SD1E9EtqAJbBkdOEh9ka8RfdFrUyBkGq0voVTfG3HnSPXjCAuYJa/SLRdHBa19 FjjPM/sJXApSE91I9tWC/aoch3PkKuMNIj4BXNnZbi/A4Z0PA4H3pwEc2rITIFt86zLR yW8abEQEUFwK++iYT8Utvzls/vagfx89KDv5PaClt2KZB22uplcwOTmkc56h/pJnZyQ3 CSDw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGKf3zZFW" X-RZG-CLASS-ID: mo00 Original-Received: from bruno.haible.de by smtp.strato.de (RZmta 44.16 DYNA|AUTH) with ESMTPSA id 5094e6v2L2tBZEl (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Thu, 21 Mar 2019 03:55:11 +0100 (CET) In-Reply-To: <87h8bx5ijn.fsf-i9wRM+HIrmlRTR8OWt4JRw@public.gmane.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5301::9 X-BeenThere: bug-gettext-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Bug reports for GNU gettext List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gettext-bounces+gcggb-bug-gettext=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: "bug-gettext" Xref: news.gmane.org gmane.comp.gnu.gettext.bugs:1966 gmane.emacs.devel:234445 Archived-At: Hi Juri, > Currently we have more urgent tasks after the first step of adding > =E2=80=98ngettext=E2=80=99 like in CLISP, the development stalled on the = problem of > splitting messages into domains. You are very welcome to ask for advice on bug-gettext. It's there that you can find the experts. (I don't read emacs-devel usually.) > But maybe CLISP already provides a good way to map packages to gettext > domains? Does it require every package to have a separate domain or > it collects translations from all packages into one domain? What matters for the domains is what code gets distributed together. * When you have two Lisp packages that are released by separate groups of developers, of course they must use separate translation domains. Otherwise you would have to co-ordinate the merging of their POT files, which makes no sense since they make releases at different times. * On the other hand, when you have two Lisp packages that are always released together, in the same tarball, it is more efficient for the translators if they receive one notification about a new POT file than two notifications about two POT files on the same day. =46or Common Lisp code, the Common Lisp package name _may_ be used to derive the domain name. But this is up to the developers. =46or reference, i18n in CLISP is described here: https://clisp.sourceforge.io/impnotes/i18n-mod.html https://www.gnu.org/software/gettext/manual/html_node/Common-Lisp.html and there is a sample and a test case in GNU gettext: https://git.savannah.gnu.org/gitweb/?p=3Dgettext.git;a=3Dblob;f=3Dgettext-t= ools/examples/hello-clisp/hello.lisp.in https://git.savannah.gnu.org/gitweb/?p=3Dgettext.git;a=3Dblob;f=3Dgettext-t= ools/tests/lang-clisp Bruno