From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sMLUOg+a4mItYgAAbAwnHQ (envelope-from ) for ; Thu, 28 Jul 2022 16:15:44 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4CXYOg+a4mINeAEA9RJhRA (envelope-from ) for ; Thu, 28 Jul 2022 16:15:43 +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 AFD683E41F for ; Thu, 28 Jul 2022 16:15:43 +0200 (CEST) Received: from localhost ([::1]:50010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oH4Ig-0005X0-Qn for larch@yhetil.org; Thu, 28 Jul 2022 10:15:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH4Hm-0005Qd-9h for guix-devel@gnu.org; Thu, 28 Jul 2022 10:14:51 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:36694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oH4Hh-0007ZO-Hr for guix-devel@gnu.org; Thu, 28 Jul 2022 10:14:44 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id ABC74142F; Thu, 28 Jul 2022 16:14:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:in-reply-to :date:date:subject:subject:from:from:references:received :received:received; s=dkim20160331; t=1659017671; x=1660832072; bh=RTMVAXI5h4LRpHLLsd6a95N3xmAJo2Sy5pbAyGwDDzg=; b=FF8hNW6wrvUx SvSrehxiCRwaqhoGBD7wYI58vvodVGZYLvvK9eAi/7t6Xb6pqiJ4NM2m6Owh+bJ4 uLzF+DFZgU0y+7c4EgyxJRDax1bPYKW3SNqJtjul34dTY6iB9ZBG5BieX6TCrKaA ObvzZOgdcTJC9LrFr63tzD6NTnSU45+lBuybShSE8up5pJyAw56dHUlGAETZxyIq NNnl0tVxKTFNdCWWsDRV19mo0bD31dOhfGV0PN142mBWYEaR9aJulSVnL6Q3wQCa 1lApCs8wGsxwayMhax62aIH9uxKbq55t+TPCFb3Ufk+vgZGvbfZEIVUeoqY/39Bq wxSUnQ0MqcnQdHsUlRtK/ufmdWgfEpWNAbg+DiPorNLanLnHGlJsOsVUniDazA/J lZ14xsPFLxl3bpnrrKTbeoM/Y1GL12ttKX99QrjMfitODodsyUAkz2y0I/tFQwFR 21vOrdrbZwo57MA4omO9NQ7mAT1T6eck07XZGHOALLP7eTuczv0S0vYWTDVjLNxe /9sA9G+GCNbqJrG4G6EAVb4GOLPAlT99M505gvLlxAFOhXrdLvKrM7eGRQhmBnQi kT4fzg6nQQx5z2MN1Tdr98ss94UY1HG+7jKaFFUYtgHjg/GZWlr9jZ+inNPOsFiR X0bY1GyR6Ovb8RdCi/N7fM9lx1t1NbE= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out002.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ivDaHtu5SmK3; Thu, 28 Jul 2022 16:14:31 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by mx.kolabnow.com (Postfix) with ESMTPS id 6941613D4; Thu, 28 Jul 2022 16:14:30 +0200 (CEST) Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 8D5E3C13; Thu, 28 Jul 2022 16:14:29 +0200 (CEST) References: <20220721222734.0f0ac881@sybil.lepiller.eu> From: Thiago Jung Bauermann To: Julien Lepiller Cc: guix-devel@gnu.org Subject: Re: Translating news on weblate? Date: Thu, 28 Jul 2022 11:09:46 -0300 In-reply-to: <20220721222734.0f0ac881@sybil.lepiller.eu> Message-ID: <877d3xqq84.fsf@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.103.80.154; envelope-from=bauermann@kolabnow.com; helo=mx.kolabnow.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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=1659017743; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RTMVAXI5h4LRpHLLsd6a95N3xmAJo2Sy5pbAyGwDDzg=; b=HOmnMeNWU5U9C1DaMRmLYCWvUqdQkiqymHQ+VoVgjL3KvGeXjOBzZojhu5C1B4blgj3DQN PcRAl3bREhWWMdrE5FCw3PstAFcKIrvHnMS5pJySKer93DXjiXzwOe8loG/kwbLLxQnRNS et5y7dQ10mhsh6y4gTJcb6Ly/wune3uzZ4+p5w2X2FZWgyvX1fc5zE512bLNtblKenVCrr zrdA1p5L+BTtxQqxU4TRN5ZK5RS6dGUNfTiQMEYig/ebOlnUJD4NzV4o3kEWZgTAZE1BU5 wm23htb9Dotj5L3MSTh0zzI2jYXOVeRz/LUMRzxDm7bkwffvv2VgCMDVoUQPwg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659017743; a=rsa-sha256; cv=none; b=K/8wAxiGXsddwk+6Fu9qsAhuA/v0NbxuTxGNhLM6XCyZeJSU6nJ3IuEHA4u6epDj3cw4vH U6L88g1uIziRLQZ3SFpgb9demXxO++6xaePnSkv5T//AJgr8F9qGsYd69vrrv6J6GDCUCp p798GgrwESsL6CzeixAMwkVtx32juFp9AV60ZTokFn6Pv+8DBljzZAvojYvNh2G3J+GmvE crjJlJCeSoCgx6ss/yB696Xfe0I2itGsM1giCrDvXPqMkfwOVq42+myL9uUa248Gmb79Ra b04UlZCeQJjNejujVnQteNXqxzEV7yMZvFTCJPpFXKdalDrZ//vTlPLqg/yvog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20160331 header.b=FF8hNW6w; dmarc=pass (policy=quarantine) header.from=kolabnow.com; 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: -5.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20160331 header.b=FF8hNW6w; dmarc=pass (policy=quarantine) header.from=kolabnow.com; 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: AFD683E41F X-Spam-Score: -5.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: e3ynyMJoonjH Hello Julien, Julien Lepiller writes: > Hi Guix! > > 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. > > 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 also attached the LINGUAS file with all languages for which we have > at least one entry in news.scm. > > WDYT? I think this is a great idea! Even if I can prepare and post a patch with the pt_BR news translation and someone else can commit it for me, doing it via Weblate is quicker for me and spares a committer from having to review and commit it. Thank you for implementing it! -- Thanks Thiago