Remove Chinese localization, retain English only#55
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove all Chinese documents and retain only English
Remove Chinese localization, retain English only
Jan 22, 2026
Contributor
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Contributor
Author
Fixed in commit 036873b. The middleware was still redirecting Chinese users to |
🚀 Preview DeploymentThis pull request will be automatically deployed to Vercel. Preview Links
Build StatusCheck the CI workflow for build status and any errors. Automated preview information for PR #55 |
There was a problem hiding this comment.
Pull request overview
Purpose: This PR removes all Chinese localization from the documentation site, keeping only English language support.
Changes:
- Removed 32 Chinese documentation files (all
*.cn.mdxfiles) - Updated configuration to remove "cn" from supported languages
- Simplified homepage redirect to always go to English docs
Reviewed changes
Copilot reviewed 36 out of 36 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
packages/site/proxy.ts |
Removed Chinese language detection, simplified to always redirect to /en/docs |
packages/site/lib/site-config.ts |
Removed "cn" from default languages array |
packages/site/docs.site.json |
Removed "cn" from i18n languages configuration |
content/docs/**/*.cn.mdx (32 files) |
Deleted all Chinese documentation files |
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.

Remove All Chinese Documentation
Task Summary
删除所有中文文档,暂时语言只保留英文 (Remove all Chinese documents, temporarily keep only English)
Changes Completed
*.cn.mdxfiles)content/docs.site.jsonto remove "cn" from languages arraypackages/site/lib/site-config.tsto remove "cn"Files Removed (Commit 1)
All files with
.cn.mdxextension:content/docs/index.cn.mdxcontent/docs/concepts/*.cn.mdx(8 files)content/docs/creator-layer/index.cn.mdxcontent/docs/execution-layer/index.cn.mdxcontent/docs/execution-layer/objectui/*.cn.mdx(6 files)content/docs/execution-layer/objectql/*.cn.mdx(7 files)content/docs/execution-layer/objectos/*.cn.mdx(6 files)content/docs/governance-layer/index.cn.mdxcontent/docs/specifications/index.cn.mdxConfiguration Updates
content/docs.site.json: Changed"languages": ["en", "cn"]to"languages": ["en"]packages/site/lib/site-config.ts: Removed "cn" from default languages arraypackages/site/proxy.ts: Removed Chinese language detection, always redirect to/en/docsBug Fixes (Commit 2)
/en/cn/docsby removing Chinese redirect logic in middleware/en/docsfor all usersVerification
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.