Re: [PATCH v4 0/5] docs(l10n): AI agent instructions and workflow improvements
- From
Jiang Xin <worldhello.net@gmail.com>
- Date
- Mar 31, 2026, 04:37 UTC
- Message-ID
- <CANYiYbG9i9FcYCPbhS_DyhubEPJKjfxkL=wmYFLMiBc8+HdM_A@mail.gmail.com>
- In-Reply-To
- <xmqqfr5g4qjb.fsf@gitster.g>
On Tue, Mar 31, 2026 at 11:38 AM Junio C Hamano <gitster@pobox.com> wrote:
Show 15 quoted lines
>
> Jiang Xin <worldhello.net@gmail.com> writes:
>
> > The l10n window for Git 2.54 will open soon. I will merge at least
> > patch 1/5 ("l10n: add .gitattributes to simplify location filtering")
> > into my tree. The new GitHub Actions workflow already supports checks
> > based on the filter attribute.
> >
> > As for patches 2/5 through 5/5, would they also be appropriate to
> > merge during this l10n window?
>
> Up to you. I didn't find anything questionable in these patches,
> but the area the patches touch is in your bailiwick and ultimately
> it is your call.
>I tried using AI assistance on top of the current master branch to complete the translation of po/zh_CN.po, and translated a total of 177 entries. I also used AI-assisted review, which gave the result a score of 98/100.
🔍 Review Report
Review score: 98/100
Total entries: 177
Perfect (no issue): 170
With issues: 7
Critical (score 0): 1
Major (score 1): 3
Minor (score 2): 3
Applied PO: po/review-output.po
Report JSON: po/review-result.jsonFor full review details, see the report JSON file
Manual inspection found that in multiple translations, the placeholder order had not actually been changed, yet positional syntax (%n$) was still used unnecessarily. These cases needed to be fixed one by one by hand. I will update AGENTS.md later to reduce the chance of this kind of unnecessary positional syntax appearing again.
@@ -8980,7 +8981,7 @@ msgid ""
"Unable to create '%s': %s.\n"
"\n"
msgstr ""
-"无法创建‘%1$s’:%2$s。\n"
+"无法创建‘%s’:%s。\n"
"\n" #: lockfile.c
@@ -14663,7 +14664,7 @@ msgstr "无法打开文件 '%s'"
#: fetch-pack.c
#, c-format
msgid "couldn't resolve 'auto' filter '%s': %s"
-msgstr "无法解析 ‘auto’ 过滤器‘%1$s’:%2$s"
+msgstr "无法解析 ‘auto’ 过滤器‘%s’:%s"Overall, AI provides very significant efficiency gains for l10n work.