You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7cbb45b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CLAUDE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -341,7 +341,7 @@ Anything reused across pages: a setup-prerequisites paragraph, a "how to open th
341
341
342
342
### Japanese translations of partials
343
343
344
-
Every partial is also translated: `src/partials/<slug>.mdx`→ `i18n/ja/partials/<slug>.mdx`, by `translate_docs.py` (the workflow watches `src/partials/` too). Translated pages import the Japanese copy (`@site/i18n/ja/partials/<slug>.mdx`) instead of the English one; list-context references are filled from the Japanese copy by `docusaurus.config.ts` for pages under `i18n/ja/`. Edit only the English partial — never the `i18n/ja/partials/` copy.
344
+
Every partial is also translated: `src/partials/<slug>.mdx`→ `i18n/ja/partials/<slug>.mdx`, by `translate_docs.py`, or by `scripts/ja_manual_translate.py` when no API key is available (`scripts/detect_ja_drift.py` lists the missing and stale partials and pages). Translated pages import the Japanese copy (`@site/i18n/ja/partials/<slug>.mdx`) instead of the English one; list-context references are filled from the Japanese copy by `docusaurus.config.ts` for pages under `i18n/ja/`. Edit only the English partial — never the `i18n/ja/partials/` copy.
Copy file name to clipboardExpand all lines: localization/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ A self-updating system that (1) keeps a **UI copy library** in sync with the liv
22
22
|`ja-preferred-translations.yaml`| Human-owned terminology-consistency map — one approved Japanese rendering per English term we *do* translate (e.g. "build number" → "ビルド番号"). Separate from the glossary because the glossary is regenerated weekly and would overwrite it. |
23
23
|`JA-TRANSLATION-GUIDE.md`| House rules for the translation (register, orthography, terminology) with a LIVE/PROCESS/ROADMAP status legend. |
24
24
|`.github/workflows/refresh-ui-library.yml`| Weekly + on-demand: rebuilds the library/glossary and opens a PR if anything changed — touching only `localization/`, a diff a human can actually review. |
25
-
|`.github/workflows/translate-ja-docs.yml`|On docs PRs: translates the changed pages and commits the JA versions. **Ships disabled** — gated on the existence of the `ANTHROPIC_API_KEY` secret; until it's added, the job skips silently on every PR. |
25
+
|`.github/workflows/translate-ja-docs.yml`|Translate-on-PR workflow. **Not used**: its `pull_request` trigger is commented out, so it never runs or appears as a check on PRs. To bring Japanese pages up to date, `scripts/detect_ja_drift.py` lists the missing and stale pages and `scripts/ja_manual_translate.py` translates them without an API key. |
26
26
|`.github/workflows/ja-style-check.yml` + `.textlintrc.yaml`| Runs the JTF Japanese Standard Style Guide checker (textlint) on changed JA docs — the automated stand-in for a native reviewer on style/orthography, not meaning. |
27
27
28
28
## How it flows
@@ -66,7 +66,7 @@ A self-updating system that (1) keeps a **UI copy library** in sync with the liv
66
66
2. Add `NT` to the `ALLOWED` set in `docusaurus.config.ts`'s markdown preprocessor — it escapes any JSX tag name not on that list, so without this a manual `<NT>` renders as literal escaped text instead of the component.
67
67
3. Add the `CI_REPO_TOKEN` repo secret — a PAT or GitHub App token with **read** access to `bitrise-website`, `bitrise-workflow-editor`, `bitrise-codespaces`, `bitkit`, `bitrise-steplib` (the default `GITHUB_TOKEN` can't read other repos).
68
68
4. Enable Actions. Run **Refresh UI copy library** once manually to seed `localization/`. No tagging pass is needed — the docs source stays as-is; protection is applied at translation time.
69
-
5.When enough pages are migrated to keep `/ja/` in lock-step, add the `ANTHROPIC_API_KEY` repo secret — its existence is the ON switch for translate-on-PR. Until then the job skips silently on every docs PR.
69
+
5.Translate-on-PR is switched off on purpose. To bring it back, restore the `pull_request` trigger in `translate-ja-docs.yml` and add the `ANTHROPIC_API_KEY` repo secret.
0 commit comments