Skip to content

fix: translate the remaining English page titles and blog cards - #1965

Merged
awxiaoxian2020 merged 1 commit into
reactjs:mainfrom
lmliheng:fix/leftover-english-ui-text
Oct 20, 2026
Merged

awxiaoxian2020 merged 1 commit into
reactjs:mainfrom
lmliheng:fix/leftover-english-ui-text

Conversation

@lmliheng

Copy link
Copy Markdown
Contributor

把界面和页面标题里剩下的英文补齐。这几处的正文、侧边栏都已经是中文,只有标题/卡片还是英文,同一页面里看起来是割裂的。

文件 改动
src/content/reference/react/components.md Built-in React Components → 内置 React 组件(侧边栏是「组件」)
src/content/community/index.md React Community → React 社区(侧边栏是「社区」)
src/content/reference/react-dom/client/index.md Client React DOM API → 客户端 React DOM API(侧边栏是「客户端 API」)
src/content/blog/index.md React Blog → React 博客;4 张仍是英文的卡片补成中文(标题沿用对应文章 / sidebar 已有的译名,例如 介绍 React 基金会、React Labs:视图过渡、Activity 等功能);12 张卡片的日期从 October 7, 2025 统一成 2025 年 10 月 7 日,与文件里其余卡片一致

没有改动任何英文产品名(React 19.2、React Compiler v1.0、useOptimistic 一类的 API 名保持原样)。

yarn lint 通过。

- 4 个页面的 title 还是英文(内置 React 组件 / React 社区 / 客户端 React DOM API /
  React 博客),而侧边栏和正文都已是中文,页面标题与侧边栏对不上。
- 博客索引页还有 4 张卡片是英文标题 + 英文摘要,其余卡片都是中文。
- 索引页里 12 张卡片的日期仍是 "October 7, 2025" 这种英文写法,统一成
  「2025 年 10 月 7 日」,与同文件其他卡片一致。
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
zh-hans-react-dev Ready Ready Preview Oct 20, 2026 12:29am UTC

Request Review

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@awxiaoxian2020
awxiaoxian2020 merged commit 471e6ae into reactjs:main Oct 20, 2026
5 of 6 checks passed

This branch was successfully deployed

1 active deployment
Preview – zh-hans-react-dev — b4a02789 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants