git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.json
    For 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.
Previous: Junio C HamanoNext: Jiang Xin
Message 44 of 45 in “[RFC] Introducing AI Agents to Git Localization”
  1. Jiang XinFeb 4, 2026
  2. Peter KreftingFeb 4, 2026
  3. Michal SuchánekFeb 4, 2026
  4. 依云Feb 4, 2026
  5. Jiang XinFeb 5, 2026
  6. Michal SuchánekFeb 5, 2026
  7. Jiang XinFeb 5, 2026
  8. Michal SuchánekFeb 5, 2026
  9. Jiang XinFeb 5, 2026
  10. brian m. carlsonFeb 5, 2026
  11. 1/2 l10n: add .gitattributes to simplify location filteringJiang Xin, Feb 5, 2026
  12. Junio C HamanoFeb 5, 2026
  13. 2/2 l10n: README: document AI assistant guidelinesJiang Xin, Feb 5, 2026
  14. Junio C HamanoFeb 5, 2026
  15. Jiang XinFeb 6, 2026
  16. 0/5 docs(l10n): AI agent instructions and workflow improvementsJiang Xin, Mar 3, 2026
  17. 1/5 l10n: add .gitattributes to simplify location filteringJiang Xin, Mar 3, 2026
  18. 2/5 docs(l10n): add AGENTS.md with optimized update-pot instructionsJiang Xin, Mar 3, 2026
  19. Jiang XinMar 12, 2026
  20. 3/5 docs(l10n): add AI agent instructions for updating po/XX.po filesJiang Xin, Mar 3, 2026
  21. 4/5 docs(l10n): add AI agent instructions for translating PO filesJiang Xin, Mar 3, 2026
  22. Jiang XinMar 12, 2026
  23. 5/5 docs(l10n): add AI agent instructions to review translationsJiang Xin, Mar 3, 2026
  24. Jiang XinMar 12, 2026
  25. 0/5 docs(l10n): AI agent instructions and workflow improvementsJiang Xin, Mar 14, 2026
  26. 1/5 l10n: add .gitattributes to simplify location filteringJiang Xin, Mar 14, 2026
  27. Johannes SixtMar 15, 2026
  28. Junio C HamanoMar 15, 2026
  29. Jiang XinMar 16, 2026
  30. Jiang XinMar 16, 2026
  31. Johannes SixtMar 16, 2026
  32. 2/5 docs(l10n): add AGENTS.md with optimized update-pot instructionsJiang Xin, Mar 14, 2026
  33. 3/5 docs(l10n): add AI agent instructions for updating po/XX.po filesJiang Xin, Mar 14, 2026
  34. 4/5 docs(l10n): add AI agent instructions for translating PO filesJiang Xin, Mar 14, 2026
  35. 5/5 docs(l10n): add AI agent instructions to review translationsJiang Xin, Mar 14, 2026
  36. 0/5 docs(l10n): AI agent instructions and workflow improvementsJiang Xin, Mar 16, 2026
  37. 1/5 l10n: add .gitattributes to simplify location filteringJiang Xin, Mar 16, 2026
  38. 2/5 docs(l10n): add AGENTS.md with optimized update-pot instructionsJiang Xin, Mar 16, 2026
  39. 3/5 docs(l10n): add AI agent instructions for updating po/XX.po filesJiang Xin, Mar 16, 2026
  40. 4/5 docs(l10n): add AI agent instructions for translating PO filesJiang Xin, Mar 16, 2026
  41. 5/5 docs(l10n): add AI agent instructions to review translationsJiang Xin, Mar 16, 2026
  42. Jiang XinMar 31, 2026
  43. Junio C HamanoMar 31, 2026
  44. Jiang XinMar 31, 2026
  45. Jiang XinFeb 5, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.