Skip to content

[fix] translate bit-length.md body to English#3708

Merged
morningman merged 1 commit into
apache:masterfrom
boluor:fix-bit-length-translate-en
May 20, 2026
Merged

[fix] translate bit-length.md body to English#3708
morningman merged 1 commit into
apache:masterfrom
boluor:fix-bit-length-translate-en

Conversation

@boluor
Copy link
Copy Markdown
Contributor

@boluor boluor commented May 20, 2026

Summary

The English bit-length.md (docs/ and versioned_docs/version-4.x/) declares "language": "en" in its frontmatter, but the entire body (section headings — ## 描述, ## 语法, ## 参数, ## 返回值, ## 示例 — and the prose) is Chinese. The frontmatter description was also missing the * between 字节数 and 8 ("字节数 8" instead of "字节数 * 8").

This PR translates the body to English to match the declared language. The headings become ## Description, ## Syntax, ## Parameters, ## Return Value, ## Examples, and the description uses × 8 to make the multiplication explicit. The code examples and result tables are unchanged.

Test plan

  • CI doc build passes
  • Verify the page renders in English with the same examples and result tables

The English bit-length.md (current and version-4.x copies) had its
"language" set to "en" but its entire body (section headings and prose)
was Chinese. The frontmatter "description" was also missing the `*` in
"字节数 8" (should be "字节数 * 8").

This translates the body to English to match the language tag, and uses
"× 8" in the description to make the multiplication explicit.
@morningman morningman merged commit 14e60a8 into apache:master May 20, 2026
3 checks passed
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