Docs/i18n batch fix link localization#2508
Conversation
…files Fixes 14 internal links that were still pointing to English .md targets when the corresponding .zh-CN.md files already exist on main: - e2e-testing → agent-observability.zh-CN.md - README → subconscious.zh-CN.md, getting-started.zh-CN.md - triggers → meeting-agents.zh-CN.md, subconscious.zh-CN.md, auto-fetch.zh-CN.md, README.zh-CN.md, privacy-and-security.zh-CN.md, model-routing/README.zh-CN.md - mascot/meeting-agents → cef.zh-CN.md - mascot/README → cef.zh-CN.md - browser-and-computer → cef.zh-CN.md, integrations/README.zh-CN.md - memory-tree → local-ai.zh-CN.md Also fixes one missed bare text for proper GitBook rendering. Skipped links where .zh-CN.md target does not yet exist: - ../../docs/*, ../../AGENTS.md, ../../CLAUDE.md, ../../CONTRIBUTING.md, ../features/cloud-deploy.md (Batch D not yet merged)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughThis PR updates Chinese gitbook pages to use localized zh-CN internal links, adds a text code-fence start for routing docs, and revises the meeting-agents entry to describe Google Meet’s CDP-driven join automation. ChangesChinese Documentation Localization
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
gitbooks/features/native-tools/browser-and-computer.zh-CN.md (1)
33-33:⚠️ Potential issue | 🟡 Minor | ⚡ Quick winInconsistent link localization.
Line 16 correctly updates the CEF link to
cef.zh-CN.md, but this line in the "另见" section still points to the Englishcef.md. For consistency within this Chinese documentation file, this should also point to the localized version.📝 Suggested fix
-* [Chromium Embedded Framework](../../developing/cef.md) —— 运行时浏览器层。 +* [Chromium Embedded Framework](../../developing/cef.zh-CN.md) —— 运行时浏览器层。🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@gitbooks/features/native-tools/browser-and-computer.zh-CN.md` at line 33, The "另见" entry still links to the English CEF doc; update the link target for the "Chromium Embedded Framework" list item (the string currently pointing to ../../developing/cef.md) to the localized ../../developing/cef.zh-CN.md so the file consistently uses the Chinese localization (match the change made at the earlier CEF link).
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@gitbooks/features/mascot/meeting-agents.zh-CN.md`:
- Line 85: The doc line incorrectly claims Google Meet is "zero-injection JS";
update the sentence to say that only the six zero-injection providers (not
including google-meet) avoid any injected scripts, while Google Meet uses CDP to
install JS bridges/recipes — see GOOGLE_MEET_RECIPE_JS and
provider_recipe_js("google-meet") which cause recipe.js to be injected via CDP
calls (Page.addScriptToEvaluateOnNewDocument and Runtime.evaluate) — so clarify
that Meet join automation is CDP-driven and that CDP is used to install bridging
scripts rather than true zero-injection delivery.
---
Outside diff comments:
In `@gitbooks/features/native-tools/browser-and-computer.zh-CN.md`:
- Line 33: The "另见" entry still links to the English CEF doc; update the link
target for the "Chromium Embedded Framework" list item (the string currently
pointing to ../../developing/cef.md) to the localized
../../developing/cef.zh-CN.md so the file consistently uses the Chinese
localization (match the change made at the earlier CEF link).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: cfc68c06-53ec-4f52-99a1-092ba6c828c9
📒 Files selected for processing (8)
gitbooks/developing/README.zh-CN.mdgitbooks/developing/architecture/frontend.zh-CN.mdgitbooks/developing/e2e-testing.zh-CN.mdgitbooks/features/integrations/triggers.zh-CN.mdgitbooks/features/mascot/README.zh-CN.mdgitbooks/features/mascot/meeting-agents.zh-CN.mdgitbooks/features/native-tools/browser-and-computer.zh-CN.mdgitbooks/features/obsidian-wiki/memory-tree.zh-CN.md
Summary
.zh-CN.mdfiles that were still pointing to English.mdtargets when the corresponding.zh-CN.mdversions already existfrontend.zh-CN.mdProblem
After batches A–C2 landed, many
.zh-CN.mdfiles still contained internal links pointing to English.mdtargets. Chinese readers clicking these links would land on English pages instead of the available Chinese translations.Solution
Scanned all translated files for links whose
.zh-CN.mdtarget already exists onmain. Updated the link target while preserving the display text.Files changed
developing/README.zh-CN.mdgetting-started.md→.zh-CN.md;subconscious.md→.zh-CN.mddeveloping/architecture/frontend.zh-CN.md```→```textdeveloping/e2e-testing.zh-CN.mdagent-observability.md→.zh-CN.mdfeatures/integrations/triggers.zh-CN.mdREADME.md,subconscious.md,meeting-agents.md,model-routing/README.md,privacy-and-security.md,auto-fetch.md→.zh-CN.mdequivalentsfeatures/mascot/README.zh-CN.mdcef.md→.zh-CN.mdfeatures/mascot/meeting-agents.zh-CN.mdcef.md→.zh-CN.mdfeatures/native-tools/browser-and-computer.zh-CN.mdcef.md→.zh-CN.md;integrations/README.md→.zh-CN.mdfeatures/obsidian-wiki/memory-tree.zh-CN.mdlocal-ai.md→.zh-CN.mdSkipped (target
.zh-CN.mddoes not yet exist)../../docs/*,../../AGENTS.md,../../CLAUDE.md,../../CONTRIBUTING.md../features/cloud-deploy.md(Batch D pending)Submission Checklist
Impact
Related
AI Authored PR Metadata
Linear Issue
Commit & Branch
docs/i18n-batch-fix-link-localizationed7b0e02,1cad3129Validation Run
pnpm --filter openhuman-app format:checkpnpm typecheckValidation Blocked
command:error:impact:Behavior Changes
Parity Contract
Duplicate / Superseded PR Handling
Summary by CodeRabbit