docs(zh): align Chinese translations with English source#3220
Merged
Conversation
Brought 18 Chinese mdx files into structural and content parity with
their English counterparts. The drift had accumulated as the EN docs
evolved while the ZH versions stayed pinned to older revisions —
missing sections, omitted table rows, condensed code examples, and
in a few places sections in the wrong order.
Verified with two checks (heading/code-block/table/link counts):
- structural drift: 14 files → 0
- deeper drift (table rows, code-block line counts, prose ratio): 11 → 0
Notable gaps closed:
- agent/memory: added Table of Contents and the entire
"Memory Provider Plugin API" section (5 subsections, 3 Rust blocks)
- agent/skills: added "Skill Config Variables" section
(4 subsections, 3 code blocks, parameter table, TOC entry)
- agent/templates: demoted category subheadings to H3, removed
superfluous spawn blocks, dropped the EN-less "模型配置" section,
reordered "理解 Temperature" to match EN
- agent/workflows: added TOC, moved Cron Jobs section to its EN
position (between Trigger Engine and API Endpoints)
- architecture/security: restored the missing 19.2 Architecture
subsection, renumbered 19.3–19.6, added missing TOTP row in the
systems overview table
- security/approvals: reordered Recovery Codes / Hardening Checklist
/ Session-Scoped Batch Resolution to match EN order
- configuration/features: restored "Streamable HTTP" subheading and
the `enabled` field row for `[browser]`
- configuration/core: added the missing `max_history_messages` row
- integrations/api/intelligence: added GET /api/skills/{name} endpoint
and replaced 3 outdated JSON examples
- multiple files: added missing code-comment lines so EN/ZH code
blocks have identical line counts
No code changes; documentation only.
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.
Summary
Bring 18 Chinese mdx files in
docs/src/app/zh/back into structural and content parity with their English counterparts. The drift had accumulated as the EN docs evolved while the ZH versions stayed pinned to older revisions — missing sections, omitted table rows, condensed code examples, and in a few places sections in the wrong order.Verification
Two checks were used to find and confirm fixes:
Notable gaps closed
agent/memory— added Table of Contents and the entireMemory Provider Plugin APIsection (5 subsections, 3 Rust code blocks)agent/skills— addedSkill Config Variablessection (4 subsections, 3 code blocks, parameter table, TOC entry)agent/templates— demoted category subheadings to H3, removed superfluous spawn blocks, dropped the EN-less模型配置section, reordered理解 Temperatureto match ENagent/workflows— added TOC, moved Cron Jobs section to its EN position (between Trigger Engine and API Endpoints)architecture/security— restored the missing19.2 Architecturesubsection, renumbered 19.3–19.6, added missing TOTP row in the systems overview table, completed the 19.6 Security Properties table and 19.3 / 19.4 flow stepssecurity/approvals— reorderedRecovery Codes/Hardening Checklist/Session-Scoped Batch Resolutionto match EN orderconfiguration/features— restored#### Streamable HTTPsubheading and theenabledfield row for[browser]configuration/core— added the missingmax_history_messagesfield rowintegrations/api/intelligence— addedGET /api/skills/{name}endpoint and replaced 3 outdated JSON examplesintegrations/channels/core— fixed WhatsApp toml block that pointed at the wrong table ([channels.whatsapp]instead of[channels.whatsapp.overrides])Files changed (18)
Documentation only — no code or build changes.
Test plan
pnpm --dir docs buildsucceeds/zh/agent/memoryand/zh/agent/skillspages render the new sections in the dev server