From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CGsyMve36mIeuwAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 20:01:27 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iOo8Mve36mKAFgAA9RJhRA (envelope-from ) for ; Wed, 03 Aug 2022 20:01:27 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4CA489E97 for ; Wed, 3 Aug 2022 20:01:27 +0200 (CEST) Received: from localhost ([::1]:58930 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJIgQ-0007oj-8w for larch@yhetil.org; Wed, 03 Aug 2022 14:01:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJIfr-0007oA-2Z for guix-devel@gnu.org; Wed, 03 Aug 2022 14:00:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJIfo-0005Y9-7A; Wed, 03 Aug 2022 14:00:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=wayTMZ2kFGJOcKCVGxlcT3s77x3Y9E56EsoK7KOQuTs=; b=hT05g/DGyncURdvbtPF2 OTrNCaZNQOxFX7FmxbePmkpyupA86QtP3lcji2XBecnAglsMhI5xzUVfOELDY6vWs+6VtqdcBaXbl pJ1dERguIEMTrM2zuvzwmNDpDPbqAPVeWZ+pX8BZJab2C+JdP9xI0wDlePysns8u684T3qona40Rw XEA/b9HVJmL0VIvElNJ1K/gAvEDkNzWGkjE1LaUeCQbyTCD4AmJ5GdahmMqmC1jVRk6PGamvvsbOW CC95PAau/IhuFSB/jo3CMbGfU56NuPFERgjmv9KUm58FgWc2859GN3sgrC0vwXWfgNm1o9c+W7Tln hHr/F375LMAw1w==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:54996 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJIfn-0001sX-QN; Wed, 03 Aug 2022 14:00:48 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Julien Lepiller Cc: guix-devel@gnu.org Subject: Re: Translating news on weblate? References: <20220721222734.0f0ac881@sybil.lepiller.eu> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Thermidor an 230 de la =?utf-8?Q?R=C3=A9v?= =?utf-8?Q?olution=2C?= jour de la Guimauve X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 03 Aug 2022 20:00:45 +0200 In-Reply-To: <20220721222734.0f0ac881@sybil.lepiller.eu> (Julien Lepiller's message of "Thu, 21 Jul 2022 22:27:34 +0200") Message-ID: <87sfmdqkaa.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659549687; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wayTMZ2kFGJOcKCVGxlcT3s77x3Y9E56EsoK7KOQuTs=; b=o1zGgwt22lAynnyykTt/aifqI5UXb+7Fkm2Ejtk5750P7YzxDaoJMLcfd9pXYllp3UW18c /xcHxv1T5ycFiRUYjqQPjwl2JQe4ZwGnuAoGhmh+E5mkjR2oDR3TRxMy9C9qQ2uTpn+/QT Pv6UC97zV+VXKAxZYE/a6ZQvuEPAqceeZjZ8eps4jwYGYnfXgWa9pyCSWF/zPzUni5foAz 75etL92HPLONErx2mSd/fRR409x1VGXzIE9f1e6HSq1wEUIpyaUnRSy+c4mPsduCCkNEsK 3mLZ0m5mDXdGZ9hWZivOhoxMAHzWiUUqFHHwPRCrKnz1es4Qmu3d5bHjRVXVmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659549687; a=rsa-sha256; cv=none; b=MiBGeb/IjW/Y8MEJGisu80PUAzlFjOjqsT2XdLvC9V9/opqeMFs2FuYAw6108vOZ/eHic9 Qiusr9zHRgtssTwIOQPdvT2s1gkiW4La1ajVjOilHezX7m4i3jKYJ/qceiSc8G5VL89n8u WCHO021p1bOIMeg+MWArUX6ATsCHf1YxkzCwY53yPBT84kJcqdQw/TNSx83W5YN3tZbWuM f0OSlFzR7IjfblyQc6+GY0zxB1ow64vd8QWPyJ9DWHVz2SOYGt/vgPGqiodYL8P+WJSrgk Qvhm8fVp2BzaSRcg11tlz4V9MSJJfr6WH9v8Ti3j2xACxg3jt+O7di8tVO9oRw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="hT05g/DG"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b="hT05g/DG"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4CA489E97 X-Spam-Score: -4.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: BBW2QLDQUCN2 Hi Julien, Julien Lepiller skribis: > I was thinking we could have our news file translated at weblate, which > would help having more people translate it. Attached is a script that > is able to generate a pot file from the news.scm file and a translated > news.scm file from the existing news.scm and a directory that contains > the po files and a LINGUAS file. I agree with what others said: it=E2=80=99s a great idea! > The goal is to regularly fetch the news.scm file, generate a new pot > that would automatically be updated on weblate. Translators can do > their work, and the result is regularly merged back (after being > checked that it doesn't break) in our repo. > > The script tries to reformat the news in a standard way and to merge > existing copyright lines with the authorship lines in the po files. It > is also able to generate the initial po files that I would give > weblate, so translators don't have to redo translations that have > already been done. I was wondering whether we could just use xgettext to get a .pot file, but maybe it doesn=E2=80=99t matter. Given that these are news, I guess we=E2=80=99ll have to merge translations= more frequently than usual. > (define (@@ (guix channels) )) Nitpick: You can (and should :-)) avoid this one. Anyway, thumbs up, let=E2=80=99s do that! Thanks, Ludo=E2=80=99.