Skip to content

docs(i18n): translate build/automation/ and build/interface/ into ja (#388, PR 2 of 7) - #390

Merged
zhuangjianguo merged 5 commits into
mainfrom
claude/project-thread-u7eoxi
Oct 29, 2026
Merged

zhuangjianguo merged 5 commits into
mainfrom
claude/project-thread-u7eoxi

Conversation

@zhuangjianguo

Copy link
Copy Markdown
Collaborator

Requested by Steedos · project thread
Refs #388
Clause-②: no
Metadata-protocol: none

维护者速读

  • 改了什么:Other locales, phase 2: ja to full coverage (the remaining 79 pages, seven serial PRs) #388 第 2/7 个 PR:新增 build/automation/ 4 页和 build/interface/ 7 页的日文译文。只新增译文文件,不动 en、zh-Hans、zh-Hant 和代码;两个目录的 meta.ja.json 已与英文一致,无需改动。
  • 为什么改:其他语言分阶段计划的第 2 阶段(2026-10-29 09:44Z 维护者同意):日文补全剩余页面,分 7 个串行 PR;PR 1(docs(i18n): translate build/ and build/data/ into ja (#388, PR 1 of 7) #389)已落地。
  • 风险与回滚:只加 11 个 locale 文件;其余 55 个日文页面仍回退英文。回滚即 revert 本 PR。
  • 先看:content/docs/build/automation/flows.ja.mdx(最长)和 content/docs/build/interface/forms.ja.mdx。
  • 两分钟验证:打开 /ja/docs/build/automation/flows,正文为日文,无「未翻译」横幅;/ja/docs/build/automation/flows#conditions-and-branches 锚点仍可跳转。
  • 需要你做的:无,席位落地。

What changes

Files Change
content/docs/build/automation/{index,flows,workflows,approvals}.ja.mdx New ja translations
content/docs/build/interface/{index,apps,views,forms,dashboards,pages,actions}.ja.mdx New ja translations

build/automation/meta.ja.json and build/interface/meta.ja.json already list the same pages as English, so neither changes.

Rules followed (docs/TRANSLATION.md), as in #387 and #389: product nouns stay English; glossary ja column; every heading keeps its English id (checked against the zh-Hans heading ids); fences filled from the English source byte for byte; UI control labels kept in English; each page stamped with check-translations.mjs --stamp; one line per paragraph.

The branch carries one merge of main at 9586650 so the push fast-forwards; the diff against main is only the 11 files.

Tests

Content-only diff. Local gates on 38384aa:

  • check-translations: ja 0 stale, 55 missing (was 66), 0 guide-stale; zh-Hans 0/0/0; gate passed.
  • check-translation-output --files <changed>: no findings.
  • check-translation-ownership: 11 translation artifacts, 0 other files.
  • Every page parsed with mdast: no stray * left in text nodes (two CJK-flanking bold spans in forms.ja.mdx were caught this way and fixed).
  • gen-zh-hant --check, check-doc-samples, type-check, build, test, check-locale-surface, check-positioning, check-search-locales all green.
  • Rendered with next start (playwright): all 11 pages at desktop 1280, /ja/docs/build/automation/flows at mobile 390. All 200 with html lang="ja", ja H1 and body, no untranslated banner, no page or console errors.

Acceptance notes

  • PR 3 of 7 (configure/ top level, 14 pages) opens only after this lands and main CI and smoke are green.

Generated by Claude Code

zhuangjianguo and others added 5 commits October 29, 2026 10:17
…ions, use)

Phase 1 of the other-locale plan. Adds ja translations of the 19
entry-path pages (index, why, start/*, editions/*, use/*) and the ja
sidebar labels for start/ and editions/. Every heading keeps its
English id, fences match the English byte for byte, terms follow the
glossary's ja column, and each page carries a --stamp.

check-translations: ja 0 stale, 79 missing (was 98).

Fixes #386

Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm

Co-Authored-By: Claude <noreply@anthropic.com>
Phase 2 of the other-locale plan, first batch: ja for the build/ top
level (index, agents, ai-builder, ai-skills, extend-existing-systems,
marketplace, packages, reports, templates) and build/data/ (index,
relationships, formulas, validation-rules). Same rules as #386: English
heading ids, fences byte for byte, glossary ja column, UI labels in
English, one line per paragraph, each page stamped.

check-translations: ja 0 stale, 66 missing (was 79).

Refs #388

Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm

Co-Authored-By: Claude <noreply@anthropic.com>
…388, PR 2 of 7)

Adds ja translations for the 11 automation and interface pages:
build/automation/{index,flows,workflows,approvals} and
build/interface/{index,apps,views,forms,dashboards,pages,actions}.
Both sections' meta.ja.json already match the English pages list.

Refs #388

Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm

Co-Authored-By: Claude <noreply@anthropic.com>
@zhuangjianguo zhuangjianguo self-assigned this Oct 29, 2026
@objectstack-fleet

Copy link
Copy Markdown
Contributor

席位核对 · ACCEPT · 2026-10-29T11:03Z · session_01QsR2jTaZ2GeyfjANMwstiw · seat repo:docs.objectos.ai#1

  1. Shape. Draft PR against main 9586650, head 38384aa. 11 added locale files, +2137/−0, under the 3000-line limit. This is PR 2 of 7 for Other locales, phase 2: ja to full coverage (the remaining 79 pages, seven serial PRs) #388, and the body says Refs #388. Claim 6494412087, branch claude/project-thread-u7eoxi. The changes stay within the claimed surface: build/automation/* (4 pages) and build/interface/* (7 pages). The diff against main is exactly these 11 ja files.
  2. Structure, seat check on all 11 pages. Heading counts match the English. Every ## keeps its English id, and the ids match the zh-Hans siblings one for one. Fenced code is byte-identical to the English. build/automation/meta.ja.json and build/interface/meta.ja.json already have pages equal to the English.
  3. Terms. アクション is used for the ObjectStack action, 26× in interface/actions and 6× in automation/flows, matching the glossary's ja column (docs(i18n): add action and operation to the translation glossary #381). Product nouns stay English.
  4. Gates, seat re-run at 38384aa.
    • check-translations: ja 0 stale, 55 missing (was 0 and 66). zh-Hans stays at 0/0.
    • check-translation-output --files: passed, 0 findings.
    • Check-runs: Ownership & freshness success · Node floor success · build must pass in the queue.
    • The dev rendered all 11 pages under /ja/docs/build/...: each returned 200 with lang=ja and no fallback banner.
  5. Landing. Tier none. This is phase 2 of the maintainer-approved locale plan. It lands through the merge queue under the standing go-ahead, serially. PR 3 of 7 opens only after this one is green on main, smoke included.

@zhuangjianguo
zhuangjianguo marked this pull request as ready for review October 29, 2026 11:03
@zhuangjianguo
zhuangjianguo added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 3bbc710 Oct 29, 2026
4 checks passed
zhuangjianguo added a commit that referenced this pull request Oct 29, 2026
…tput (#393)

/api/search kept every locale's Orama index (30-40 MB each) and every
page module page.data.load() imported, so one Worker isolate grew from
58 MB after its first locale to 283 MB after all eight, and #390's ja
pages tipped it past 128 MB into 503s.

- scripts/gen-search-data.mjs computes each page's structuredData before
  next build with fumadocs-mdx's own remark chain and writes one gzipped
  module per locale to apps/docs/.search/; the route reads that instead
  of importing page modules.
- The route keeps the most recently used locale's index only.
- check-search-heap.mjs asks the built route in every locale twice and
  fails above 100 MB or when the second pass keeps growing; it runs in
  ci.yml after check-search-locales and its --self-test is in SELF_TESTED.

Measured on the built route: levels at 50-54 MB across both passes.

Fixes #393

Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm

Co-Authored-By: Claude <noreply@anthropic.com>
zhuangjianguo added a commit that referenced this pull request Oct 29, 2026
The tree is unchanged: the diff against main is the #393 commit only.

Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm

Co-Authored-By: Claude <noreply@anthropic.com>
zhuangjianguo added a commit that referenced this pull request Oct 29, 2026
…388, PR 2 of 7)

Reverts #392, which reverted #390 because /api/search ran out of Worker
memory. #394 (#393) fixed that, so the same 11 ja pages come back
unchanged.

Refs #388

Claude-Session: https://claude.ai/code/session_01QsR2jRsjbApbf83iyTDDXm

Co-Authored-By: Claude <noreply@anthropic.com>
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.

1 participant