Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fabae2b
l10n: it: fix italian usage messages alignment
Apr 22, 2026
ca0b184
l10n: bg.po: Updated Bulgarian translation (6322t)
alshopov Jun 14, 2026
383461c
l10n: tr: Update Turkish translations
bitigchi Jun 16, 2026
b0e7d39
l10n: ca.po: update Catalan translation
Jun 25, 2026
4de2e01
l10n: sv.po: Update Swedish translation
nafmo Jun 25, 2026
19ab0a8
l10n: TEAMS: change Simplified Chinese team leader
lilydjwg Jun 22, 2026
52f771b
l10n: zh_CN: updated translation for 2.55
lilydjwg Jun 21, 2026
5eb25b9
l10n: AGENTS.md: add quotation mark preservation guidelines
jiangxin Jun 26, 2026
8308066
Merge branch 'master' of github.com:mbeniamino/git-po
jiangxin Jun 26, 2026
c9357f6
l10n: po-id for 2.55
bagasme Jun 27, 2026
db162a9
l10n: fr: version 2.55
jnavila Jun 14, 2026
d051d24
l10n: fr: mass fix of typos
jnavila Jun 24, 2026
b3d72e5
l10n: ga.po: update for Git 2.55
aindriu80 Jun 27, 2026
ad2b38f
l10n: uk: add 2.55 translation
arkid15r Jun 27, 2026
d908e50
l10n: zh-TW.po: Update Chinese (Traditional) translation
lumynou5 Jun 20, 2026
ecaa5e8
Merge branch 'master' of github.com:nafmo/git-l10n-sv
jiangxin Jun 28, 2026
2cdc62b
Merge branch 'fr_v2.55' of github.com:jnavila/git
jiangxin Jun 28, 2026
0093fdf
Merge branch 'master' of github.com:alshopov/git-po
jiangxin Jun 28, 2026
f2f7369
Merge branch 'po-id' of github.com:bagasme/git-po
jiangxin Jun 28, 2026
94d7fee
Merge branch 'tr-l10n' of github.com:bitigchi/git-po
jiangxin Jun 28, 2026
13d2a9e
Merge branch 'zh_CN-2.55' of github.com:lilydjwg/git-po
jiangxin Jun 28, 2026
d6cee09
Merge branch 'ca-20260624-b' of github.com:Softcatala/git-po
jiangxin Jun 28, 2026
3311925
Merge branch 'l10n/zh-TW/2026-06-26' of github.com:l10n-tw/git-po
jiangxin Jun 28, 2026
2f5880f
Merge branch 'l10n-ga-2.55' of github.com:aindriu80/git-po
jiangxin Jun 28, 2026
08621c3
Merge branch '2.55-uk-pr' of github.com:arkid15r/git-ukrainian-l10n
jiangxin Jun 28, 2026
9aa172c
Merge tag 'l10n-2.55.0-v1' of https://github.com/git-l10n/git-po
gitster Jun 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 50 additions & 1 deletion po/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,52 @@ etc.), and quotes exactly as in `msgid`. Only reorder placeholders with
positional syntax when needed (see Placeholder Reordering below).


### Preserving Quotation Marks

Some languages use language-specific UTF-8 quotation marks (curly/smart
quotes) rather than ASCII straight quotes. **Always preserve these
characters exactly as they appear in the source.** Do **not** convert them
to ASCII straight quotes.

**Protected quotation marks** (non-exhaustive list):

| Character | Unicode | Name | Languages |
|-----------|---------|------|-----------|
| „ | U+201E | DOUBLE LOW-9 QUOTATION MARK | Bulgarian, German, etc. |
| " | U+201C | LEFT DOUBLE QUOTATION MARK | Bulgarian, etc. |
| " | U+201D | RIGHT DOUBLE QUOTATION MARK | English, German, etc. |
| ' | U+2018 | LEFT SINGLE QUOTATION MARK | English, etc. |
| ' | U+2019 | RIGHT SINGLE QUOTATION MARK | English, etc. |
| « | U+00AB | LEFT-POINTING DOUBLE ANGLE QUOTATION MARK | French, Russian, etc. |
| » | U+00BB | RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK | French, Russian, etc. |
| ‹ | U+2039 | SINGLE LEFT-POINTING ANGLE QUOTATION MARK | French, etc. |
| › | U+203A | SINGLE RIGHT-POINTING ANGLE QUOTATION MARK | French, etc. |

**Why this matters in PO files**: In PO file format, the ASCII straight
double quote `"` (U+0022) is the **string delimiter**. If a translation
contains a curly quote that is incorrectly converted to `"` (U+0022),
the PO parser will interpret it as the end of the string, causing:

1. **String truncation**: The `msgstr` value is cut short at the
spurious quote character.
2. **Syntax errors**: `msgfmt --check` fails with parse errors at
the line where the string was prematurely terminated.
3. **Data loss**: Content after the accidental quote delimiter is
misinterpreted or lost.

**Rules**:

- **Never** replace language-specific quotation marks with ASCII
straight quotes `"` (U+0022) or `'` (U+0027).
- Apply this rule when translating PO files, PO multi-line strings,
and GETTEXT JSON `msgstr` array values.
- Apply this rule when generating suggested translations
(`suggest_msgstr`) during review.
- If the source `msgid` uses ASCII straight quotes, preserve them
as-is in the translation unless the target language convention
requires different quotation marks.


### Placeholder Reordering

When reordering placeholders relative to `msgid`, use positional syntax (`%n$`)
Expand Down Expand Up @@ -387,7 +433,10 @@ read and write this format.
- **Placeholders**: Preserve variables (`%s`, `{name}`, `$1`) exactly; use
positional parameters when reordering (see "Placeholder Reordering" above).
- **Special characters**: Preserve escape sequences (`\n`, `\"`, `\\`, `\t`),
placeholders exactly as in `msgid`. See "Preserving Special Characters" above.
placeholders exactly as in `msgid`. Preserve language-specific quotation
marks (curly/smart quotes like „, ", ", ', ') — do not convert them to
ASCII straight quotes. See "Preserving Special Characters" and
"Preserving Quotation Marks" above.
- **Plurals and gender**: Correct forms and agreement.
- **Context fit**: Suitable for UI space, tone, and use (e.g. error vs. tooltip).
- **Cultural appropriateness**: No offensive or ambiguous content.
Expand Down
6 changes: 3 additions & 3 deletions po/TEAMS
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ Members: Trần Ngọc Quân <vnwildman AT gmail.com>
Nguyễn Thái Ngọc Duy <pclouds AT gmail.com>

Language: zh_CN (Simplified Chinese)
Repository: https://github.com/dyrone/git/
Leader: Teng Long <dyroneteng AT gmail.com>
Repository: https://github.com/lilydjwg/git-po
Leader: 依云 <lilydjwg AT gmail.com>
Members: Ray Chen <oldsharp AT gmail.com>
依云 <lilydjwg AT gmail.com>
Fangyi Zhou <me AT fangyi.io>
Jiang Xin <worldhello.net AT gmail.com>
Teng Long <dyroneteng AT gmail.com>

Language: zh_TW (Traditional Chinese)
Repository: https://github.com/l10n-tw/git-po
Expand Down
Loading