Skip to content

i18n(ja): fix version-requirement corruption and mistranslations in tidb-lightning - #23863

Open
yahonda wants to merge 3 commits into
pingcap:i18n-ja-release-8.5from
yahonda:fix-tidb-lightning-defects
Open

yahonda wants to merge 3 commits into
pingcap:i18n-ja-release-8.5from
yahonda:fix-tidb-lightning-defects

Conversation

@yahonda

@yahonda yahonda commented Sep 15, 2026

Copy link
Copy Markdown
Member

What is changed, added or deleted? (Required)

Fixes defects found during a full 1:1 EN-vs-JA read-through review of every
file in tidb-lightning/ (22 files). All fixes were individually re-verified
against the live JA file and the EN source (release-8.5) before being
applied.

Most significant fixes:

  • tidb-lightning-prechecks.md (all 8 table rows) and tidb-lightning-overview.md:
    version-requirement values like >= 5.3.0 ("5.3.0 or later") had all lost
    their >=, rendering as bare = 5.3.0 ("exactly 5.3.0") — a real change
    in the compatibility requirement communicated to readers.
  • tidb-lightning-faq.md: "the earliest available version" mistranslated as
    "the latest available version," reversing the meaning.
  • tidb-lightning-glossary.md: the alphabetical section letters I and N
    were mistranslated as real words (私 "I/me", 北 "North"), breaking the
    glossary's alphabetical index; also fixed A (was hiragana あ) for
    consistency with the other literal Latin-letter headings.
  • tidb-lightning-configuration.md: 4 literal TOML section names were
    mistranslated (security→安全, conflict→対立, cron→クローン "clone",
    tidb→ティッド, a garbled transliteration) — these must stay as the literal
    config-file section names.
  • tidb-lightning-error-resolution.md: a heading for "Type error" was
    translated as "入力エラー" ("Input error"), contradicting the correct "型エラー"
    used elsewhere in the same file; also fixed a garbled parameter enumeration
    and a qualified SQL identifier that had lost its . separator.
  • troubleshoot-tidb-lightning.md: the supported-compression-format list was
    missing zstd entirely (EN lists gzip, snappy, and zstd).
  • monitor-tidb-lightning.md / import-into-vs-tidb-lightning.md: several
    fully-untranslated English sentences/table cells were translated, and a
    metric series name "apply worker" (mistranslated as "応募者", "job
    applicant") was restored to its literal form.
  • tidb-lightning-web-interface.md: a "Function" column header was
    mistranslated as 関数 (math/programming sense) instead of 機能, and the
    literal UI button UPLOAD had been translated into Japanese while its
    sibling buttons stay English.

The rest are dropped を/が/は/の particles (mostly right after a closing code
span or link, a recurring pattern in this corpus) and a couple of scrambled
sentences reconstructed to match the EN meaning.

Which TiDB version(s) do your changes apply to? (Required)

  • i18n-ja-release-8.5 (TiDB Japanese documentation for TiDB 8.5 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

AI agent involvement

  • The changes in this PR were primarily made by an AI agent on behalf of the PR author.

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Documentation
    • Corrected Japanese wording, grammar, punctuation, and formatting throughout TiDB Lightning documentation.
    • Clarified configuration guidance, conflict handling, import modes, checkpoints, troubleshooting, and monitoring terminology.
    • Updated version requirements and precheck guidance to accurately describe minimum supported versions.
    • Improved explanations for supported compression formats, Web interface labels, and error resolution steps.
    • Clarified logical and physical import mode behavior, configuration interactions, limitations, and resource guidance.

…idb-lightning

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ti-chi-bot

ti-chi-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign lilin90 for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 15, 2026
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 2fd1e3d6-4365-442a-9487-efc5c3040eec

📥 Commits

Reviewing files that changed from the base of the PR and between 8222889 and 671ce16.

📒 Files selected for processing (6)
  • tidb-lightning/data-import-best-practices.md
  • tidb-lightning/import-into-vs-tidb-lightning.md
  • tidb-lightning/tidb-lightning-configuration.md
  • tidb-lightning/tidb-lightning-data-source.md
  • tidb-lightning/tidb-lightning-faq.md
  • tidb-lightning/tidb-lightning-logical-import-mode-usage.md

Included review availability: Your plan provides up to 4 included reviews per hour; 1 remains after this review.


📝 Walkthrough

Walkthrough

Changes

The pull request updates Japanese TiDB Lightning documentation. It corrects wording, spacing, headings, configuration names, version requirements, monitoring labels, and troubleshooting descriptions. It also translates several English sentences.

TiDB Lightning documentation

Layer / File(s) Summary
Configuration and terminology updates
tidb-lightning/tidb-lightning-configuration.md, tidb-lightning/tidb-lightning-data-source.md, tidb-lightning/tidb-lightning-error-resolution.md, tidb-lightning/tidb-lightning-checkpoints.md, tidb-lightning/tidb-lightning-glossary.md, tidb-lightning/tidb-lightning-web-interface.md
Corrects Japanese wording, configuration headings, conflict setting names, glossary text, table formatting, checkpoints, and interface labels.
Import guidance and version documentation
tidb-lightning/data-import-best-practices.md, tidb-lightning/import-into-vs-tidb-lightning.md, tidb-lightning/tidb-lightning-faq.md, tidb-lightning/tidb-lightning-logical-import-mode*.md, tidb-lightning/tidb-lightning-overview.md, tidb-lightning/tidb-lightning-physical-import-mode*.md, tidb-lightning/tidb-lightning-prechecks.md
Updates import guidance, conflict behavior descriptions, concurrency wording, version requirements, and minimum supported-version tables.
Monitoring and troubleshooting documentation
tidb-lightning/monitor-tidb-lightning.md, tidb-lightning/troubleshoot-tidb-lightning.md
Translates metric descriptions, corrects a monitoring label, and clarifies termination, table creation, mode switching, and compressed-file support.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: qiancai

Merge Risk: 🔵 Low · up to 671ce

The documentation could mislead operators about disk-quota coverage and supported logical-import cluster versions; both issues are localized and straightforward to correct.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the Japanese localization scope and the main fixes: corrupted version requirements and mistranslations in TiDB Lightning documentation.
Description check ✅ Passed The description explains the changes, affected files, TiDB version branch, AI involvement, and applicable change categories. It provides concrete examples of the corrected version requirements, mistra…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: e5425d6f-21fd-489a-9ade-672fbd7a9f3f

📥 Commits

Reviewing files that changed from the base of the PR and between 645c2ff and 8222889.

📒 Files selected for processing (17)
  • tidb-lightning/data-import-best-practices.md
  • tidb-lightning/import-into-vs-tidb-lightning.md
  • tidb-lightning/monitor-tidb-lightning.md
  • tidb-lightning/tidb-lightning-checkpoints.md
  • tidb-lightning/tidb-lightning-configuration.md
  • tidb-lightning/tidb-lightning-data-source.md
  • tidb-lightning/tidb-lightning-error-resolution.md
  • tidb-lightning/tidb-lightning-faq.md
  • tidb-lightning/tidb-lightning-glossary.md
  • tidb-lightning/tidb-lightning-logical-import-mode-usage.md
  • tidb-lightning/tidb-lightning-logical-import-mode.md
  • tidb-lightning/tidb-lightning-overview.md
  • tidb-lightning/tidb-lightning-physical-import-mode-usage.md
  • tidb-lightning/tidb-lightning-physical-import-mode.md
  • tidb-lightning/tidb-lightning-prechecks.md
  • tidb-lightning/tidb-lightning-web-interface.md
  • tidb-lightning/troubleshoot-tidb-lightning.md

Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review.

Comment thread tidb-lightning/data-import-best-practices.md Outdated
Comment thread tidb-lightning/tidb-lightning-physical-import-mode-usage.md
…int MD037

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@qiancai qiancai added translation/no-need No need to translate this PR. and removed missing-translation-status This PR does not have translation status info. labels Sep 15, 2026
…tidb-lightning-defects

# Conflicts:
#	tidb-lightning/import-into-vs-tidb-lightning.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/no-need No need to translate this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants