Skip to content

fix(l10n): refresh Traditional Chinese message catalog - #41273

Merged
justinmk merged 1 commit into
neovim:masterfrom
nrps9909:codex/fix-zhtw-message-catalog
Aug 18, 2026
Merged

justinmk merged 1 commit into
neovim:masterfrom
nrps9909:codex/fix-zhtw-message-catalog

Conversation

@nrps9909

@nrps9909 nrps9909 commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

Problem:

The Traditional Chinese catalog was not synchronized with the current Neovim source. It contained 1,343 active message IDs while the generated catalog contains 2,086, so current diagnostics such as E5200 were absent. Existing entries also included empty, stale fuzzy, and format-unsafe translations.

Solution:

  • regenerate zh_TW.UTF-8.po from the current source using the official translation build and update-po-zh_TW.UTF-8 target
  • preserve the focused Traditional Chinese repairs in this PR
  • translate the reported E5200 diagnostic and retain its %s placeholder
  • leave newly surfaced untranslated or fuzzy entries visibly incomplete instead of inventing unreviewed translations

Validation:

  • make CMAKE_EXTRA_FLAGS="-DENABLE_TRANSLATIONS=ON"
  • active message ID parity: 2,086 in nvim.pot and 2,086 in zh_TW.UTF-8.po
  • msgfmt --check --check-format
  • cmake --build build --target nvim_translations
  • git diff --check

The catalog still contains 667 untranslated and 634 fuzzy entries now surfaced by the refresh; this PR does not claim to translate those entries.

AI-assisted: Codex

@github-actions github-actions Bot added the AI assisted 🤖 May contain trace amounts of GMO label Aug 11, 2026
@zeertzjq zeertzjq added the localization l10n label Aug 11, 2026
@superatomic

superatomic commented Aug 11, 2026 •

Copy link
Copy Markdown
Member
  • translate all previously empty messages

This PR is missing some messages (for example, E5200 from :log). Did you run make CMAKE_EXTRA_FLAGS="-DENABLE_TRANSLATIONS=ON"?

@barrettruth

Copy link
Copy Markdown
Member

should this be ported to vim too?

Problem:

The zh_TW catalog was stale, omitted 743 messages from the current source, and contained empty, fuzzy, and format-unsafe translations.

Solution:

Regenerate the catalog with the official translation build, preserve the focused translation repairs, and translate the reported E5200 diagnostic.

AI-assisted: Codex
@nrps9909
nrps9909 force-pushed the codex/fix-zhtw-message-catalog branch from 7c52eb0 to cc71d92 Compare August 12, 2026 09:07
@nrps9909 nrps9909 changed the title fix(l10n): repair Traditional Chinese message catalog fix(l10n): refresh Traditional Chinese message catalog Aug 12, 2026
@nrps9909

Copy link
Copy Markdown
Contributor Author

Thanks — I had validated only the checked-in catalog. I have now rebased, built with ENABLE_TRANSLATIONS=ON, and run the official update-po-zh_TW.UTF-8 target. The active catalog now matches the generated POT (2,086/2,086 msgids, up from 1,343), and E5200 has a reviewed zh-TW translation with its placeholder preserved. Strict msgfmt and the translation build pass. Newly surfaced untranslated/fuzzy entries remain explicitly incomplete rather than being machine-translated. This refresh is generated from Neovim sources; I would not port it directly to Vim because its catalog and message set should be updated and reviewed separately.

@superatomic

Copy link
Copy Markdown
Member

(It's a bit rude to speak through an AI, by the way.)

@justinmk
justinmk merged commit b524338 into neovim:master Aug 18, 2026
43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI assisted 🤖 May contain trace amounts of GMO localization l10n

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants