Skip to content

修复:翻译标语 / fix: translate tagline#736

Open
asmgf wants to merge 1 commit intoapache:new-official-websitefrom
asmgf:new-official-website
Open

修复:翻译标语 / fix: translate tagline#736
asmgf wants to merge 1 commit intoapache:new-official-websitefrom
asmgf:new-official-website

Conversation

@asmgf
Copy link
Copy Markdown

@asmgf asmgf commented Jul 29, 2025

Fixes #766

What is the purpose of the change

当前主页标题包含未翻译的中文标语 “官方网站” / Currently the main page title includes an untranslated Mandarin tagline “官方网站” on the English page.
image

这会让人感到困惑,例如在 Google 搜索结果中查看时,不容易判断是否是正确的页面。 / This can be quite confusing, for example when viewing Google search results—it’s not clear if this is the right page to open.
image

Brief changelog

建议根据 locale 环境变量设置标语,如 facebook/docusaurus#4542 (comment)
中所述。 / It is recommended to set the tagline according to the locale environment variable, as described in facebook/docusaurus#4542 (comment)

Verifying this change

npm run build
  • Verify build/index.html has translated title.
<title data-rh="true">RocketMQ · Official Website | RocketMQ</title>
  • Verify build/zh/index.html has original title.
<title data-rh="true">RocketMQ · 官方网站 | RocketMQ</title>

Follow this checklist to help us incorporate your contribution quickly and easily:

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
  • Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test to make sure integration-test pass.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@asmgf
Copy link
Copy Markdown
Author

asmgf commented Dec 25, 2025

你好 @RongtongJin,您有空的时候能帮忙审阅一下吗?谢谢!/ Hi @RongtongJin , could you please help review when you have a chance? Thank you!

@asmgf asmgf changed the title fix: translate tagline fix: translate tagline #766 Apr 4, 2026
@asmgf asmgf changed the title fix: translate tagline #766 修复:翻译标语 / fix: translate tagline Apr 4, 2026
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.

网站部分内容未翻译 / Some website content is not translated

1 participant