Re: [PATCH 0/9] Incremental po/git.pot update and new l10n workflow
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- May 3, 2022, 14:07 UTC
- Message-ID
- <cb74f3b-c2e9-947f-8f89-f51e79b17825@softwolves.pp.se>
- In-Reply-To
- <20220503132354.9567-1-worldhello.net@gmail.com>
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/