From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3215 2.6.0.0/16 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by dcvr.yhbt.net (Postfix) with ESMTP id 367C51F4D7 for ; Tue, 3 May 2022 14:14:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236802AbiECORW (ORCPT ); Tue, 3 May 2022 10:17:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236780AbiECORV (ORCPT ); Tue, 3 May 2022 10:17:21 -0400 X-Greylist: delayed 398 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 03 May 2022 07:13:48 PDT Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6BC0917E1D for ; Tue, 3 May 2022 07:13:48 -0700 (PDT) Received: from orm.abc.se (orm.abc.se [158.174.61.226]) by hekla.abc.se (OpenSMTPD) with ESMTPS id 8b7f33aa (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 3 May 2022 16:07:07 +0200 (CEST) Date: Tue, 3 May 2022 15:07:06 +0100 (CET) From: Peter Krefting To: Git List cc: Jiang Xin , =?ISO-8859-15?Q?=C6var_Arnfj=F6r=F0_Bjarmason?= , Junio C Hamano , Jiang Xin , Alexander Shopov , Jordi Mas , =?ISO-8859-15?Q?Matthias_R=FCster?= , Jimmy Angelakos , =?ISO-8859-15?Q?Christopher_D=EDaz?= , =?ISO-8859-15?Q?Jean-No=EBl_Avila?= , Bagas Sanjaya , Alessandro Menti , Gwan-gyeong Mun , Arusekk , Daniel Santos , Dimitriy Ryazantcev , Emir SARI , =?VISCII?Q?Tr=A5n_Ng=F7c_Qu=E2n?= , Fangyi Zhou , Yi-Jyun Pan Subject: Re: [PATCH 0/9] Incremental po/git.pot update and new l10n workflow In-Reply-To: <20220503132354.9567-1-worldhello.net@gmail.com> Message-ID: References: <20220503132354.9567-1-worldhello.net@gmail.com> User-Agent: Alpine 2.25 (BSO 592 2021-09-18) Accept: text/plain X-Warning: Junk / bulk email will be reported X-Rating: This message is not to be eaten by humans Organization: /universe/earth/europe/norway/oslo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Tue, 3 May 2022, Jiang Xin wrote: > Ævar and I started discussing this topic (incremental po/git.pot update > and new l10n workflow) on a GitHub issue[^1] a month ago. There are > several improvements to the l10n workflow: I do agree that checking in git.pot does create a lot of noise, but ther are other ways of fixing that than deleting the file completely. I am also translating for dpkg, and there they run "xgettext --add-location=file" to remove the line numbers from the POT and PO files (requires GNU gettext 0.19; they also use "po4a --porefs=noline" for manual page translations, but we do not have translation for manual pages for Git, yet). This reduces diff noise considerably. I have been doing updates semi-off-line from my laptop for the last few months, without a proper build environment, and having the history for the POT file available for diffing has been useful. > * L10n contributors can start translations at any time, even before the > l10n announcing l10n window open. We must have a new l10n workflow, > see patch 9/9. You can always re-generate the POT file locally and not commit it, to update the PO files. That has not been a problem. -- \\// Peter - http://www.softwolves.pp.se/