Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

Merge remote-tracking branch 'upstream/main' into feat/korean-locale

uygnoeycd0468b328ae
diff --cc README.md
index eafec0e5,7a9f6fe7..0df7962c
--- a/README.md
+++ b/README.md
@@@ -234,8 -332,10 +332,10 @@@ Settings
}
```
-`meta.locale=en|zh-CN` localizes page title, Legend, states/errors, a11y, HTML/SVG `lang`—never authored content. Otherwise omit; preserve requested-language copy; disclose English fallback. Static omits `animation`; `classic` defaults.
+`meta.locale` localizes page title, Legend, states/errors, a11y, HTML/SVG `lang`—never authored content. `en`/`zh-CN` are built in; any other tag needs `meta.translations` (canonical message key → translated string; see `examples/locales/ko.json`), or the renderer falls back to English and discloses it. Static omits `animation`; `classic` defaults.
+ </details>
+
## Explore and share the output
| Action | Control |
diff --cc README_EN.md
index eafec0e5,7a9f6fe7..0df7962c
--- a/README_EN.md
+++ b/README_EN.md
@@@ -234,8 -332,10 +332,10 @@@ Settings
}
```
-`meta.locale=en|zh-CN` localizes page title, Legend, states/errors, a11y, HTML/SVG `lang`—never authored content. Otherwise omit; preserve requested-language copy; disclose English fallback. Static omits `animation`; `classic` defaults.
+`meta.locale` localizes page title, Legend, states/errors, a11y, HTML/SVG `lang`—never authored content. `en`/`zh-CN` are built in; any other tag needs `meta.translations` (canonical message key → translated string; see `examples/locales/ko.json`), or the renderer falls back to English and discloses it. Static omits `animation`; `classic` defaults.
+ </details>
+
## Explore and share the output
| Action | Control |
diff --cc README_ZH.md
index 9c209e2e,04af5cfe..24133ac3
--- a/README_ZH.md
+++ b/README_ZH.md
@@@ -230,8 -333,10 +333,10 @@@ node bin/archify.mjs deliver workflow e
}
```
-不设置 `animation` 时结果完全静态;`classic` 始终是默认视觉预设。设计评审、发布说明和技术文档可以显式选择 `editorial`,获得暖纸张与深墨色的编辑风格,同时保持几何完全不变。将 `meta.locale` 设为 `en` 或 `zh-CN`,可选择 `<html lang>`、默认图例、无障碍文案和所有固定 Viewer UI。作者编写的标题、节点、关系、章节和卡片不会被机器翻译。未带该字段的旧文件仍然有效,并默认使用英文。对于其他任何创作语言,应省略 `meta.locale`、保持 authored content 使用用户要求的语言,并主动告知用户固定 Viewer UI 与 `<html lang>` 回退为英文,因此该成品不属于完整本地化。
+不设置 `animation` 时结果完全静态;`classic` 始终是默认视觉预设。设计评审、发布说明和技术文档可以显式选择 `editorial`,获得暖纸张与深墨色的编辑风格,同时保持几何完全不变。将 `meta.locale` 设为任意合法语言标签,可选择 `<html lang>`、默认图例、无障碍文案和所有固定 Viewer UI。`en` 与 `zh-CN` 已内置;其他语言需同时提供 `meta.translations`(规范消息键到译文字符串的映射,`examples/locales/ko.json` 是完整示例),否则渲染器回退为英文并在 stderr 中说明。作者编写的标题、节点、关系、章节和卡片不会被机器翻译。未带该字段的旧文件仍然有效,并默认使用英文。对于既未内置也未提供 `meta.translations` 的创作语言,应省略 `meta.locale`、保持 authored content 使用用户要求的语言,并主动告知用户固定 Viewer UI 与 `<html lang>` 回退为英文,因此该成品不属于完整本地化。
+ </details>
+
## 探索与分享
| 操作 | 控制方式 |