Skip to content

[DOCS] Translate the 2.0.0 documentation into Chinese - #104

Merged
bnbong merged 1 commit into
devfrom
docs/i18n-zh
Dec 4, 2026
Merged

bnbong merged 1 commit into
devfrom
docs/i18n-zh

Conversation

@bnbong

@bnbong bnbong commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Requesting Merging

Description

Simplified Chinese translation of the rebuilt 2.0.0 documentation, for #100. Chinese leaves the pending list, so the locale parity checks now run against it.

Type of Change

  • BUG FIX
  • ADDING NEW TEMPLATE
  • FEATURE ADDED/UPDATED
  • HOTFIX
  • DELETING UNNECESSARY FEATURES
  • DOCUMENTATION & DEVOPS
  • Etc..

Test Environment

  • macOS, Python 3.12.4, Node 22
  • Full suite: 6607 passed, 39 skipped; C locale, encoding-warning and Windows-simulation runs pass
  • Pyodide under Node against the CLI: 26 of 26 option combinations equal
  • mkdocs build --strict, the built-site check, docs_blocks.py --check, black, isort, mypy and pre-commit pass
  • Locale parity checks pass for ko, ja and zh

Major Changes

Chinese pages

  • 22 pages translated from docs/en/. Code blocks, commands, CLI output, link targets and heading ids are identical to English.
  • The 1.x Chinese pages are deleted; their addresses redirect to the new pages.
  • The "Significance of FastAPI-fastkit" section keeps its previous Chinese text.
  • Generated reference tables are rendered in Chinese, and every menu label is translated.

Catalog and web generator texts (Chinese)

  • The hello and single-file level descriptions said the tests are inside main.py; corrected.
  • schema and the repository pattern no longer use words that also mean "mode" and "git repository"; half-width semicolons in Chinese prose replaced; several unclear sentences reworded.

Generated tables

  • The selections of a rule are joined with their own pattern, so quoted selections in Chinese have no stray spaces. English, Korean and Japanese output is unchanged.
  • A note label that ends in a full-width colon is dropped the same way as "Info:".

Screenshots (optional)

Etc

  • The translation was reviewed page by page against English by a second model; its findings are applied.

Refs #100

🤖 Generated with Claude Code

- translate the 22 pages of docs/en into docs/zh and delete the 1.x
  Chinese pages, whose addresses now redirect
- render the generated reference tables in Chinese and translate every
  menu label
- review the Chinese catalog texts and web generator strings: correct
  level descriptions that placed the tests inside main.py, ambiguous
  terms for schema and repository, half-width punctuation and other
  unclear wording
- generated tables: selections in a rule get their own join, and a
  note label ending in a full-width colon is removed like "Info:"

Refs #100

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@bnbong bnbong added the documentation Improvements or additions to documentation label Dec 4, 2026
@github-actions github-actions Bot added the enhancement New feature or request label Dec 4, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T09:04:29.200278Z f72810d PR opened
ℹ️ 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.

@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bnbong
bnbong merged commit 078671b into dev Dec 4, 2026
11 checks passed
@bnbong
bnbong deleted the docs/i18n-zh branch December 4, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant