Loading...
Loading...
Compare original and translation side by side
t()t()translate-sitecloudcannon-configurationcloudcannon-visual-editingdata-roseytranslate-sitecloudcannon-configurationcloudcannon-visual-editingdata-rosey| File | Covers |
|---|---|
| SKILL.md (this file) | When this skill applies, the two layers, starting point, SSG detection |
| setup.md | The main workflow — nine phases, audit through locale picker, checklist |
| tagging.md | Phase 3 in full — every |
| gotchas.md | Preventative one-line rules, framework-agnostic and SSG-specific |
| troubleshooting.md | Symptom → cause → fix for things that build cleanly and translate wrongly |
| migrating-from-i18n.md | Replacing an existing i18n system, before the main workflow |
| rcc-v1-to-v2-upgrade.md | Moving a site from RCC v1 to v2 — an alternative to the main workflow |
| astro/overview.md | Astro implementations, plus the Astro i18n migration supplement |
| hugo/overview.md | Hugo: choosing one of three setups, root derivation, setup C (Rosey only) |
| hugo/native-multilingual.md | Hugo setup A: Hugo languages and |
| hugo/hybrid.md | Hugo setup B: Hugo languages for content, Rosey for UI strings |
| eleventy/overview.md | Eleventy implementations, incl. taxonomy scoping and link localization |
| scripts/fix-rosey-pages.mjs | Postbuild fix for canonical and |
| 文件 | 涵盖内容 |
|---|---|
| SKILL.md(当前文件) | 本 skill 的适用场景、两层架构、起点、SSG detection |
| setup.md | 主要工作流——九个阶段,涵盖从审计到 locale picker 以及 checklist |
| tagging.md | 完整 Phase 3——所有 |
| gotchas.md | 通用及特定 SSG 的预防性单行规则 |
| troubleshooting.md | 针对构建成功但翻译结果异常的问题:症状 → 原因 → 修复方案 |
| migrating-from-i18n.md | 在主工作流之前替换现有 i18n 系统 |
| rcc-v1-to-v2-upgrade.md | 将站点从 RCC v1 迁移至 v2——主工作流的替代方案 |
| astro/overview.md | Astro 实现,以及 Astro i18n 迁移补充说明 |
| hugo/overview.md | Hugo:三种配置方案的选择、root derivation、仅使用 Rosey 的配置 C |
| hugo/native-multilingual.md | Hugo 配置 A:Hugo languages 和 |
| hugo/hybrid.md | Hugo 配置 B:内容使用 Hugo languages,UI 字符串使用 Rosey |
| eleventy/overview.md | Eleventy 实现,包括 taxonomy 范围限定和链接本地化 |
| scripts/fix-rosey-pages.mjs | 修复 Rosey 生成页面的 canonical 和 |
data-roseyrosey/locales/{code}.json/{locale}/translate-sitedata-roseydata-roseyrosey/locales/{code}.json/{locale}/translate-sitedata-rosey| Situation | Where to go |
|---|---|
| Single-language site, no translation system yet | Start at setup.md — the main workflow |
Site already uses an i18n system (astro-i18n, next-intl, path-based routing, dictionaries + | Do migrating-from-i18n.md first, then setup.md |
Site already uses RCC v1 (form-based YAML editing, | Follow rcc-v1-to-v2-upgrade.md instead — a distinct, self-contained path |
| 情况 | 应从哪里开始 |
|---|---|
| 单语言站点,尚无翻译系统 | 从 setup.md 开始——主要工作流 |
站点已使用 i18n 系统(astro-i18n、next-intl、基于路径的路由、dictionaries + | 先执行 migrating-from-i18n.md,再执行 setup.md |
站点已使用 RCC v1(基于表单的 YAML 编辑、 | 改用 rcc-v1-to-v2-upgrade.md——这是一条独立且自包含的路径 |
<ssg>/overview.md| SSG | File to read |
|---|---|
| Astro | astro/overview.md |
| Hugo | hugo/overview.md |
| Eleventy (11ty) | eleventy/overview.md |
hugo/overview.md<ssg>/overview.md| SSG | 需要阅读的文件 |
|---|---|
| Astro | astro/overview.md |
| Hugo | hugo/overview.md |
| Eleventy (11ty) | eleventy/overview.md |
hugo/overview.md