Skip to content

Add Japanese translation and automated trilingual sync#21

Merged
lipingtababa merged 1 commit into
gitbookfrom
feat/japanese-translation-and-auto-sync
Mar 31, 2026
Merged

Add Japanese translation and automated trilingual sync#21
lipingtababa merged 1 commit into
gitbookfrom
feat/japanese-translation-and-auto-sync

Conversation

@lipingtababa

Copy link
Copy Markdown
Owner

Summary

  • Full Japanese (ja/) translation of all 44 chapter files, intro, TOC, and contributors
  • Automated translation workflow: when a PR changes content in one language, Claude Code translates into the other two languages within the same PR
  • Japanese writing quality review job added to the review-writing workflow
  • Updated lint.sh and test.sh to validate trilingual chapter sync
  • Added CLAUDE.md with translation conventions for the Claude Code action
  • Added repo README.md targeting decision makers and software developers
  • Fixed GitHub Pages badge URL (was pointing to non-existent GitBook URL)

How the auto-translation works

  1. A contributor opens a PR with changes in en/, zh/, or ja/
  2. translate.yml detects the source language and triggers Claude Code
  3. Claude translates the changed files into the other 2 languages and pushes to the same PR branch
  4. The existing review workflow reviews writing quality in all 3 languages
  5. Multi-language commits are skipped to avoid translation loops

Test plan

  • Verify ja/ renders correctly in HonKit (npm run serve)
  • Verify lint passes: npm run lint
  • Verify sync check passes: npm test
  • Open a test PR with a single-language change and confirm translate workflow triggers

- Full Japanese (ja/) translation of all chapters, intro, and TOC
- GitHub Actions workflow to auto-translate PR content into other 2 languages
- Japanese writing quality review in review-writing workflow
- Updated lint/test scripts for trilingual chapter sync validation
- Added CLAUDE.md with translation conventions
- Added repo README targeting decision makers and developers
@lipingtababa lipingtababa merged commit fbddc7d into gitbook Mar 31, 2026
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant