Skip to content

fix(i18n): correct Korean website translations - #3799

Merged
morluto merged 2 commits into
morluto:mainfrom
hi2242:fix/ko-website-translations
Oct 16, 2026
Merged

morluto merged 2 commits into
morluto:mainfrom
hi2242:fix/ko-website-translations

Conversation

@hi2242

@hi2242 hi2242 commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

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 as 2015 년, 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

  • Semantic owner and earliest changed stage: Korean gettext msgstr values, before static page rendering.
  • Contribution scope fit and linked maintainer decision: documentation correction; a capability scope decision is not applicable.
  • CLI and MCP/tool-catalog contract: unchanged.
  • Provider, bridge, target-format, or platform compatibility: unchanged.
  • Evidence, artifact, provenance, or reconstruction contract: unchanged; source references and technical evidence values remain preserved.
  • Target selection, authority, upstream behavior, and cleanup details: not applicable to translated prose.
  • Generated metadata, package, or installation impact: none; generated preview files are uncommitted.

Expected effects:

  • Documentation or usability only; no target interaction.

Evidence and regression coverage

  • Tests added or updated: none; use existing catalog/rendering checks for this prose change.
  • Base evidence: the mistranslations above are source-derived findings in the original catalog, not provider runtime reproductions.
  • User-visible CLI/MCP output: not applicable.
  • Remaining proof gaps: interactive browser layout and interaction were not checked; real-provider verification is not applicable to this translation-only diff. Local build prerequisites and the previous incomplete automated checks are now resolved as detailed below.

Current merge-resolution validation

Merged main at 819469514 in e5f0e35ba. 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, only website/locales/ko/messages.po changes.

Executed on macOS with Node 24.18.0 and Python 3.14:

  • Strict Korean translation check: 1,728/1,728 translated, no missing/fuzzy entries.
  • 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).
  • Parsed catalog comparison: all 1,972 active/obsolete entries, English keys, placeholders, comments, references, flags, ordering and metadata preserved from current main; only the 895 selected active translations differ.
  • Diff whitespace check: passed. Interactive browser/layout checks were not run for this resolution; provider verification is not applicable.

Original-head validation (before merge resolution)

Executed against final head 8ab17051a3bdfca2298b2478c52ffcdd98333253 on Windows with Python 3.13.1, Node 24.18.0 and npm 11.16.0. npm ci --no-audit --no-fund installed the locked dependencies without changing package manifests. Native Cairo 1.18.6, CairoSVG 2.9.1, and DejaVu Sans 2.37 are available. PYTHONUTF8=1 is set for child Python processes; the native DLL directory is exposed through CAIROCFFI_DLL_DIRECTORIES and PATH.

  • website/.venv/Scripts/python.exe -X utf8 scripts/website.py check — passed: 380 reading pages built in 20 languages; social-card.png generated at 1200 × 630; 382 HTML pages, 26,087 local references, SVG/ZIP assets, sharing/search metadata and sitemap verified; all 16 regression tests passed
  • npm 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.
  • PO comparison against the pinned base — only 1,116 active translation values changed; English keys, placeholders, comments, source references, flags, metadata, ordering, and obsolete entries preserved. Active translation length remains 76,307 → 75,719 characters.
  • 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=1 allowed the full check to run in UTF-8. The check does not establish interactive visual/browser or provider behavior.

Compatibility, safety, and release

  • Breaking changes or migration steps: none.
  • Real Hopper/Ghidra, browser, or OS coverage: no provider or interactive browser checks; catalog/rendered-output checks on Windows with Python 3.13.1.
  • Package or release metadata impact: none.
  • Security, privacy, process, or containment review: the diff contains translated website text only and adds no target interaction.

Author readiness

Human owner: @hi2242 (PR author; human review and readiness pending).

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem or an agreed enhancement.
  • Material scope and authority questions are resolved, and any required maintainer scope decision covers the final diff.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

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
@kaoru0822-kitauji
kaoru0822-kitauji marked this pull request as ready for review October 15, 2026 06:17
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-15T06:17:40.404813Z 8ab1705 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The translation changes appear safe to merge; no blocking issue was found.

Summary

Updates Korean website translations in website/locales/ko/messages.po.

  • Korean readers get clearer wording across the REA website.

Reviews (2) · Last reviewed commit: "fix(i18n): resolve Korean catalog merge ..." · Reviewed by Greptile

@CassieFox23

Copy link
Copy Markdown
Contributor

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.

Results

Only 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.

Check Main (before) Main plus the PR diff (after)
msgfmt with strict checks exit 0 exit 0
Translated messages 1,728 1,728
Empty translations 0 0
Entries whose placeholders or tags differ from the English 2 0

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

  • Any judgement of Korean quality or meaning. A format check cannot tell good Korean from bad.
  • The website check script. It needs Cairo, and it is untested on this box.
  • A website build, and a view of the Korean pages.
  • Plural forms, beyond what msgfmt checks.
  • Real CI. Only the Greptile Review check ran on this PR. The repo checks have not run on it.
  • No test made a network call. No test ran the doctor command. No test files were run, because the PR adds none.
  • The patched file differs from the PR head file in some source line comments. Main moved those lines after the PR branched. I tested main plus the diff.
Test setup
  • Box: Nobara 44 (Fedora 44 base), Linux 7.2.9
  • CPU: AMD Ryzen 9 5900X, 12 cores / 24 threads
  • RAM: 32 GB DDR4-3600
  • Other: msgfmt (GNU gettext-tools) 0.26. Python 3 for the script.
  • Head: 8ab1705. Base: c7f6b8b.
Commands
git -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 compare

Both 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) 🦊

@hi2242

hi2242 commented Oct 16, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for checking this so thoroughly! I appreciate you comparing the catalog before and after the changes and confirming that the two stray <URL> strings are gone. This is helpful additional validation for the PR.

@morluto

morluto commented Oct 16, 2026

Copy link
Copy Markdown
Owner

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.
@morluto
morluto merged commit 313a86a into morluto:main Oct 16, 2026
10 checks passed
@morluto morluto added bug Something isn't working area: bridge Hopper bridge (Python) related changes labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: bridge Hopper bridge (Python) related changes bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Correct misleading Korean website translations

3 participants