Repository navigation
docs(zh): translate all 81 documentation pages into Simplified Chinese - #1886
Merged
Merged
Conversation
Adds zh beside ja in the translation and anchor checks, and keeps docs/zh out of the npm package, Context7, and the skill wording test.
…, and schema terms
Contributor
🟢 e2e web: 93 passedAll 93 tests in 42 files
Tested by e2e 0.23.1 · 1m 33s · web · run artifacts |
Contributor
🟢 e2e web agent: 34 passed35 agent steps · 26 replayed from cache · 25 model calls · 119.6k tokens (94% cached) · $0.0048 All 34 tests in 5 files
Tested by e2e 0.23.1 · 1m 38s · web · run artifacts |
Contributor
🟢 e2e android agent: 20 passed24 agent steps · 15 replayed from cache · 39 model calls · 222.5k tokens (83% cached) · $0.0146 All 20 tests in 1 file
Tested by e2e 0.23.1 · 6m 43s · android-emulator · run artifacts |
Contributor
🟢 e2e ios: 56 passed, 1 skippedAll 57 tests in 7 files
Tested by e2e 0.23.1 · 6m 36s · ios-simulator · run artifacts |
Contributor
🟢 e2e ios agent: 21 passed, 1 skipped25 agent steps · 11 replayed from cache · 61 model calls · 381.5k tokens (83% cached) · $0.0247 All 22 tests in 1 file
Tested by e2e 0.23.1 · 8m 36s · ios-simulator · run artifacts |
Contributor
🟢 e2e android: 58 passed, 1 skippedAll 59 tests in 7 files
Tested by e2e 0.23.1 · 9m 46s · android-emulator · run artifacts |
This was referenced Nov 17, 2026
1 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Simplified Chinese translation of the docs:
docs/zh/, one page for each of the 81 English pages at the same path, next to the Japanese translation indocs/ja/.docs/zh/<path>.mdxtranslatesdocs/<path>.mdx. Prose, frontmatter, and component titles are translated; code blocks, inline code, URLs, link targets, and anchors stay as on the English page. The tab and group labels are indocs/zh/navigation.json.docs/zh/README.mdholds the rules, the style (你, full-width punctuation, a space between Chinese and Latin text, where a line may wrap), and the glossary. Error categories, API names, and literals such astestorconfigurationstay in English.scripts/check-docs-translations.tsandscripts/check-docs-anchors.tsnow coverzhas well asja, so every Chinese page keeps its English page's outline, ids, and code blocks byte for byte.packages/e2e/scripts/prepare-build.ts), Context7 (context7.json), and the skill wording test (packages/e2e/tests/unit/skill.test.ts) skipdocs/zh/as they skipdocs/ja/.AGENTS.mdand theauthoring-docsskill's "Translations" section now cover both languages.The pages were translated with GPT-6 Astra (the glossary and quickstart first, then the remaining pages in parallel against that glossary), then reviewed in a fresh context. The review fixes kept the error categories in English and aligned three terms (setup test 准备测试, blocked 受阻, schema).
Verified
Ran it locally: yes
pnpm checkpasses, includingdocs translations: 162 translated pages match their English outline and code,docs anchors: 3561 anchor links across 243 pages resolveanddocs mdx: 243 pages compile as standard MDX.docs/and opened/docs/zh. Every page renders, including/docs/zh/reference/configand/docs/zh/reference/errors,/docs/zh/quickstart.mdserves the Chinese markdown, and the pages carryhreflang="zh-Hans"alternates. The language menu opens the same section in Chinese, Japanese, and English.