Bilingual documentation coverage¶
中文摘要:本页记录哪些文档有英文版、哪些按约定只保留中文,以及新增文档时的双语规则。 当前已补齐"国际面"核心文档的英文版;逐行讲义(walkthrough)与内部过程稿按约定不翻译。
This page is the source of truth for what is bilingual. The public-facing rule is simple:
- International-facing docs must ship an English version (
.en.mdnext to the Chinese file). The set is enforced bytests/test_bilingual_docs.py. - Chinese remains canonical. English translations may lag behind; when the two disagree, the Chinese file wins. Every English file starts with a translation notice linking back to Chinese.
- Never translate the learning walkthrough (
docs/walkthrough/, 57 chapters, Chinese-only by repo policy) or internal project ledgers/plans (see below).
1. Bilingual now (enforced)¶
2. Intentionally Chinese-only¶
| Area | Why |
|---|---|
docs/walkthrough/ (57 chapters) |
Line-by-line learning material tied to Chinese comments; repo policy keeps it Chinese-only. |
| Internal plans / ledgers / reports | docs/项目台账*, docs/产品化更新方案.md, docs/v025-*, docs/v026-*, docs/v028-*, docs/YAI项目全景分析与发展规划.md, docs/YAI员工薄壳-落地方案.md, docs/YAI灵动岛多专员-落地方案.md, docs/终端工艺视觉-*, docs/检查点A-*, docs/内部-主张与证据对照.md, docs/工具管理永久保留-落地方案.md, docs/宣传视频-代码生成提示词.md, docs/reports/ — internal process material. |
CHANGELOG.md |
Chinese is the authoritative ledger; CHANGELOG.en.md is a version-level English summary. |
3. Remaining backlog¶
No outstanding translation backlog: historical docs/releases/* carry a one-line English summary,
CHANGELOG.en.md provides a version-level summary, and DOCUMENT_MAP.en.md covers the document map.
Line-by-line release details remain Chinese-only by design (Chinese ledger is canonical).
4. Adding a translated doc¶
- Read the Chinese source and write
<name>.en.mdin the same directory (full translation; tables/commands/versions unchanged). - Add the standard top notice linking back to the Chinese file (copy the first line of any existing
.en.mdfile in this repo; it states that the Chinese version is canonical). - Add an
English:link to the top of the Chinese file. - Add the English file to the
English:section ofmkdocs.yml. - If it is international-facing, add the pair to
REQUIRED_PAIRSintests/test_bilingual_docs.py. - Run
python -m pytest tests/test_bilingual_docs.py tests/test_docs_site.py.