Skip to content

Fix Japanese documentation errors in commands-legacy - #2

Merged
miyako merged 3 commits into
mainfrom
miyako-fix-commands-legacy-ja-docs
Jul 30, 2026
Merged

Fix Japanese documentation errors in commands-legacy#2
miyako merged 3 commits into
mainfrom
miyako-fix-commands-legacy-ja-docs

Conversation

@miyako

@miyako miyako commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Motivation

The Japanese localization files in i18n/ja/docusaurus-plugin-content-docs/*/commands-legacy/ contain multiple categories of errors inherited from the legacy HTML-to-Markdown conversion and from translation mistakes. These range from broken katakana words (spaces inserted mid-word by hard line wraps) to incorrect cross-references pointing to the wrong command pages.

Closes #1

Approach

Targeted search-and-replace fixes across all affected versions (current, version-21, version-21-R3, version-21-R4), verified against:

  • The English source files in docs/commands-legacy/
  • The archived legacy site at library.4d-japan.com

Changes

Definite errors fixed:

  • Typo: ダイアログオックス -> ダイアログボックス
  • Broken katakana: セッ ション -> セッション
  • Duplicate particles: のの, にから, にで (multiple files)
  • Trailing period in code block: Integer. -> Integer
  • Template error in 9 Blob files: でのの -> での

Cross-reference corrections:

  • on-host-database-event-database-method.md: replaced incorrect [Semaphore] links with correct [On Exitデータベースメソッド] and [On Startupデータベースメソッド] references (4 table rows, all versions)

Missing content restored:

  • on-mobile-app-authentication-database-method.md: added missing [Go Mobile with 4D] link in See Also section

Terminology standardization:

  • Normalized ブラウザ -> ブラウザー across 34 files (standard Japanese loanword spelling)

Legacy conversion artifacts (version-21 only):

  • Fixed ~60 broken katakana words in 63 files where hard line wraps from the old HTML system introduced spaces mid-word (e.g., メ ソッド, テーブ ル, データベー ス, パラメー ター)

Editorial:

  • Added missing sentence-ending 。 in on-server-shutdown-database-method.md

Stats

120 files changed, 207 insertions(+), 207 deletions(-)

miyako and others added 3 commits July 30, 2026 14:17
Fix definite errors (#1-8) across all versions:
- ダイアログオックス → ダイアログボックス (dialog box typo)
- セッ ション → セッション (broken katakana)
- DIGESTモードのの例題 → の例題 (duplicate particle)
- の始めにで → の始めに (extra particle)
- にからメソッド → からメソッド (extra particle)
- Integer. → Integer (trailing period)
- でのの → での (9 Blob files, template error)
- ののピクチャ/のの属性/ののResources (duplicate の)

Fix editorial issues:
- Missing 。 in on-server-shutdown-database-method
- Standardize ブラウザ → ブラウザー (34 files)
- Fix ~60 broken katakana words from hard line wraps in version-21

Affected versions: current, version-21, version-21-R3, version-21-R4

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…od.md

The Japanese translation incorrectly linked to [Semaphore] instead of the
correct database methods. Fixed by referencing the English source:

- Line 40: [Semaphore] → [On Exitデータベースメソッド] (On after host database exit)
- Line 41: missing method name → [On Startupデータベースメソッド]; also fixed typo ホストデーターベース → ホストデータベース
- Line 42: 3× [Semaphore] → [On Exitデータベースメソッド] (On before host database exit)
- Line 43: missing method name → [On Startupデータベースメソッド] (On before host database startup)

Applied to all 4 versions: current, version-21, version-21-R3, version-21-R4

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…tion

The Japanese translation was missing the first See Also link present in the
English source. Added it back to all 4 versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@miyako
miyako merged commit 9fcb7c2 into main Jul 30, 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.

Fix Japanese documentation errors in commands-legacy

1 participant