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

format-patch: why are the Range-diff: and Interdiff: headers translated?

From
KHKristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>
Date
Sep 23, 2025, 16:53 UTC
Message-ID
<3945bf06-ba04-4ecb-887e-0f3a76e1c2f8@app.fastmail.com>

git-format-patch(1) has had translated strings for `Range-diff:` and `Interdiff:` since they were introduced.[1][2][3]

    // Example
    _("Interdiff against v%d: ...

Is that how translated/l10n Git is supposed to to work? I get translating errors and such—that’s for the user. But a Colombian user might send out patches to an international email list. Why should their own translated UI (again, if I’m understanding l10n correctly) affect the patch output?

I found no comments on these changes.

🔗 1: https://lore.kernel.org/git/20180722095717.17912-1-sunshine@sunshineco.com/#t † 2: 688cb1c9 (Merge branch 'es/format-patch-interdiff', 2018-09-17) † 3: 881c019e (Merge branch 'es/format-patch-rangediff', 2018-09-17)

-- 
Kristoffer
Next: Eric Sunshine
Message 1 of 6 in “format-patch: why are the Range-diff: and Interdiff: headers translated?”
  1. Kristoffer HaugsbakkSep 23, 2025
  2. Eric SunshineSep 23, 2025
  3. Kristoffer HaugsbakkSep 23, 2025
  4. Jeff KingSep 24, 2025
  5. Ben KnobleSep 24, 2025
  6. Jeff KingSep 24, 2025

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.