From fd8f8843bd02dbc4cf225af27f59563de14b8622 Mon Sep 17 00:00:00 2001 From: Josh Palmer Date: Tue, 3 Feb 2026 17:18:13 -0800 Subject: [PATCH] Docs: guard zh-CN i18n workflow What: - document zh-CN docs pipeline and generated-doc guardrails - note Discord escalation when the pipeline drags Why: - prevent accidental edits to generated translations Tests: - pnpm build - pnpm check - pnpm test Co-authored-by: Josh Palmer --- AGENTS.md | 8 ++++++++ CHANGELOG.md | 1 + 2 files changed, 9 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 69b864ab7e..fa636d5d70 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -28,6 +28,14 @@ - README (GitHub): keep absolute docs URLs (`https://docs.openclaw.ai/...`) so links work on GitHub. - Docs content must be generic: no personal device names/hostnames/paths; use placeholders like `user@gateway-host` and “gateway host”. +## Docs i18n (zh-CN) + +- `docs/zh-CN/**` is generated; do not edit unless the user explicitly asks. +- Pipeline: update English docs → adjust glossary (`docs/.i18n/glossary.zh-CN.json`) → run `scripts/docs-i18n` → apply targeted fixes only if instructed. +- Translation memory: `docs/.i18n/zh-CN.tm.jsonl` (generated). +- See `docs/.i18n/README.md`. +- The pipeline can be slow/inefficient; if it’s dragging, ping @jospalmbier on Discord instead of hacking around it. + ## exe.dev VM ops (general) - Access: stable path is `ssh exe.dev` then `ssh vm-name` (assume SSH key already set). diff --git a/CHANGELOG.md b/CHANGELOG.md index b4614fde73..eec45ab585 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Docs: https://docs.openclaw.ai - Security: add healthcheck skill and bootstrap audit guidance. (#7641) Thanks @Takhoffman. - Config: allow setting a default subagent thinking level via `agents.defaults.subagents.thinking` (and per-agent `agents.list[].subagents.thinking`). (#7372) Thanks @tyler6204. - Docs: zh-CN translations seed + polish, pipeline guidance, nav/landing updates, and typo fixes. (#8202, #6995, #6619, #7242, #7303, #7415) Thanks @AaronWander, @taiyi747, @Explorer1092, @rendaoyuan, @joshp123, @lailoo. +- Docs: add zh-CN i18n guardrails to avoid editing generated translations. (#8416) Thanks @joshp123. ### Fixes