Repository navigation
fix(i18n): correct Korean website translations - #3799
Conversation
Correct mistranslated technical terms and missing details across the Korean website catalog. Improve sentence flow and spacing, and remove trailing periods from Korean headings while keeping comparable overall text length. Preserve English source keys, placeholders, comments, metadata, and obsolete translation memory. Refs morluto#3798
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Low impact] The translation changes appear safe to merge; no blocking issue was found. SummaryUpdates Korean website translations in
Reviews (2) · Last reviewed commit: "fix(i18n): resolve Korean catalog merge ..." · Reviewed by Greptile |
|
TL;DR: The patched Korean file is valid as a gettext file, and it fixes two broken strings. I can only check the file format here. I cannot judge whether the Korean is right, and I did not run the website build. I applied the diff of this PR to main at c7f6b8b. The PR head is 8ab1705. Thanks, hi2242, for the large clean-up. ResultsOnly one file changes: the Korean message catalog. The checks below use the gettext tool msgfmt 0.26 and a small script of mine. They ran on Linux.
Both msgfmt runs print the same three warnings about missing header fields. Main has them too. The two before cases are Korean strings with a stray "" tag that the English text does not have. The patch removes both. The script counts placeholders like {ph0} and tags in the English and in the Korean, and compares them. That script is my own and rough, so treat the last row as a hint, not proof. Not run
Test setupCommandsgit -C ~/code/rea-mirror/rea.git show refs/heads/main:website/locales/ko/messages.po > main.po
git -C ~/code/rea-mirror/rea.git diff refs/heads/main...refs/pull/3799/head > 3799.diff
patch -p1 -d /tmp/t34-1015/po/tree < 3799.diff # tree holds a copy of main.po
msgfmt -c -o /dev/null main.po
msgfmt -c -o /dev/null /tmp/t34-1015/po/tree/website/locales/ko/messages.po
msgfmt --statistics -o /dev/null /tmp/t34-1015/po/tree/website/locales/ko/messages.po
python3 -I ph.py main.po patched.po # my placeholder and tag compareBoth msgfmt runs: exit 0. The script found 2 differing entries in main and 0 in the patched file. 🤖 Generated with Claude Code (Sonnet 5.5, verified by Opus 5.5) 🦊 |
|
Thanks for checking this so thoroughly! I appreciate you comparing the catalog before and after the changes and confirming that the two stray |
|
this is great! thank you |
Merge main while preserving its reviewed Korean corrections and applying the remaining 895 translation fixes from this branch. Keep current source references, catalog metadata, placeholders, and obsolete entries.
Summary
Fixes #3798. Correct 1,116 Korean website translations so readers can follow the setup instructions, analysis guides, reconstruction essays, and case studies.
Problem and expected behavior
The catalog translates Git as
자식(child), CTF as the Fair Trade Commission, and IPC as2015 년, and loses technical details in other passages. Korean should convey the English source accurately and naturally.Change and scope
Edit only
website/locales/ko/messages.po: correct terminology and omissions, improve sentence flow and spacing, and remove trailing periods from 19 heading entries. Overall active translation length changes from 76,307 to 75,719 characters (about 0.8% shorter). Preserve English keys, named placeholders, source references, comments, flags, metadata, and obsolete entries.This is an AI-assisted documentation correction within the existing contribution scope.
Contract and boundary impact
msgstrvalues, before static page rendering.Expected effects:
Evidence and regression coverage
Current merge-resolution validation
Merged main at
819469514ine5f0e35ba. Retained main's newer reviewed Korean corrections where both branches changed a translation; applied the 895 remaining PR corrections. The earlier 1,116-change and character-count figures below describe the original head, before this merge resolution. Relative to current main, onlywebsite/locales/ko/messages.pochanges.Executed on macOS with Node 24.18.0 and Python 3.14:
scripts/website.py check: passed; 380 reading pages, 382 HTML pages, 26,087 local references and all 19 regression tests.npm run check:fast: passed; typecheck and lint (also passed in the pre-push hook).Original-head validation (before merge resolution)
Executed against final head
8ab17051a3bdfca2298b2478c52ffcdd98333253on Windows with Python 3.13.1, Node 24.18.0 and npm 11.16.0.npm ci --no-audit --no-fundinstalled the locked dependencies without changing package manifests. Native Cairo 1.18.6, CairoSVG 2.9.1, and DejaVu Sans 2.37 are available.PYTHONUTF8=1is set for child Python processes; the native DLL directory is exposed throughCAIROCFFI_DLL_DIRECTORIESandPATH.website/.venv/Scripts/python.exe -X utf8 scripts/website.py check— passed: 380 reading pages built in 20 languages;social-card.pnggenerated at 1200 × 630; 382 HTML pages, 26,087 local references, SVG/ZIP assets, sharing/search metadata and sitemap verified; all 16 regression tests passednpm run check— passed: all 6 Turbo tasks and architecture guards. Lint reported 0 errors and 1,428 warnings in existing source.npm run check:fast— passed: typecheck and lint, 2/2 tasks successful.website/.venv/Scripts/python.exe -X utf8 scripts/website.py translations check --language ko --strict— passed: 1,728/1,728 translated, no missing/fuzzy entries.git diff d69acc3455c33f90a2fc4381db43d38b6af50622..HEAD --check— passed. No new tracked changes were needed for dependency setup or validation; generated artifacts and local toolchains are not part of the PR.These final-head results supersede the earlier missing-Cairo/missing-PNG and unrun-npm entries. The initial full-check retry exposed CP949 decoding in child tests on Windows; exporting
PYTHONUTF8=1allowed the full check to run in UTF-8. The check does not establish interactive visual/browser or provider behavior.Compatibility, safety, and release
Author readiness
Human owner: @hi2242 (PR author; human review and readiness pending).
Before merge
type(scope): outcome.