[PR #1581] [CLOSED] feat: implement comprehensive Chinese translation support #9983

Closed
opened 2026-02-16 18:14:30 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1581
Author: @MrMushrooooom
Created: 8/3/2025
Status: Closed

Base: devHead: feature/multilingual-docs


📝 Commits (1)

  • 5825756 feat: implement comprehensive Chinese translation support

📊 Changes

42 files changed (+6777 additions, -40 deletions)

View changed files

.github/workflows/auto-translate.yml (+32 -0)
auto-translate/.gitignore (+97 -0)
auto-translate/README.md (+139 -0)
auto-translate/action.yml (+47 -0)
auto-translate/index.ts (+409 -0)
auto-translate/package.json (+24 -0)
auto-translate/script/publish (+41 -0)
auto-translate/script/release (+54 -0)
auto-translate/tsconfig.json (+40 -0)
📝 packages/opencode/src/provider/transform.ts (+7 -22)
📝 packages/web/astro.config.mjs (+6 -0)
📝 packages/web/src/components/Header.astro (+100 -15)
packages/web/src/config/language.ts (+44 -0)
📝 packages/web/src/content/docs/docs/index.mdx (+1 -1)
📝 packages/web/src/content/docs/docs/sdk.mdx (+1 -1)
📝 packages/web/src/content/docs/docs/server.mdx (+1 -1)
packages/web/src/content/docs/zh/docs/agents.mdx (+628 -0)
packages/web/src/content/docs/zh/docs/cli.mdx (+238 -0)
packages/web/src/content/docs/zh/docs/commands.mdx (+270 -0)
packages/web/src/content/docs/zh/docs/config.mdx (+362 -0)

...and 22 more files

📄 Description

Add Chinese documentation support

  • Complete Chinese translation (25 docs)
  • Auto-translate workflow for dev branch updates
  • Language switcher in header
  • Maintains technical accuracy and formatting

Ready for review and merge.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1581 **Author:** [@MrMushrooooom](https://github.com/MrMushrooooom) **Created:** 8/3/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `feature/multilingual-docs` --- ### 📝 Commits (1) - [`5825756`](https://github.com/anomalyco/opencode/commit/5825756ee9c6fb9713d1274dc566cde3b9cb2265) feat: implement comprehensive Chinese translation support ### 📊 Changes **42 files changed** (+6777 additions, -40 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/auto-translate.yml` (+32 -0) ➕ `auto-translate/.gitignore` (+97 -0) ➕ `auto-translate/README.md` (+139 -0) ➕ `auto-translate/action.yml` (+47 -0) ➕ `auto-translate/index.ts` (+409 -0) ➕ `auto-translate/package.json` (+24 -0) ➕ `auto-translate/script/publish` (+41 -0) ➕ `auto-translate/script/release` (+54 -0) ➕ `auto-translate/tsconfig.json` (+40 -0) 📝 `packages/opencode/src/provider/transform.ts` (+7 -22) 📝 `packages/web/astro.config.mjs` (+6 -0) 📝 `packages/web/src/components/Header.astro` (+100 -15) ➕ `packages/web/src/config/language.ts` (+44 -0) 📝 `packages/web/src/content/docs/docs/index.mdx` (+1 -1) 📝 `packages/web/src/content/docs/docs/sdk.mdx` (+1 -1) 📝 `packages/web/src/content/docs/docs/server.mdx` (+1 -1) ➕ `packages/web/src/content/docs/zh/docs/agents.mdx` (+628 -0) ➕ `packages/web/src/content/docs/zh/docs/cli.mdx` (+238 -0) ➕ `packages/web/src/content/docs/zh/docs/commands.mdx` (+270 -0) ➕ `packages/web/src/content/docs/zh/docs/config.mdx` (+362 -0) _...and 22 more files_ </details> ### 📄 Description # Add Chinese documentation support - Complete Chinese translation (25 docs) - Auto-translate workflow for dev branch updates - Language switcher in header - Maintains technical accuracy and formatting Ready for review and merge. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:30 -05:00
yindo closed this issue 2026-02-16 18:14:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#9983