summaryrefslogtreecommitdiffhomepage
path: root/.opencode/command/translate.md
diff options
context:
space:
mode:
authorFrank <[email protected]>2026-04-26 12:50:01 -0400
committerFrank <[email protected]>2026-04-26 12:50:03 -0400
commit79c66e353f718684f6e9da01c2aa2444cebcaf53 (patch)
treea46556e86d4ef80bc45bc48da02306a048e3b8b1 /.opencode/command/translate.md
parent41f5e8a8616b22862f181c67f30c5420ac2e47af (diff)
downloadopencode-79c66e353f718684f6e9da01c2aa2444cebcaf53.tar.gz
opencode-79c66e353f718684f6e9da01c2aa2444cebcaf53.zip
sync
Diffstat (limited to '.opencode/command/translate.md')
-rw-r--r--.opencode/command/translate.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/.opencode/command/translate.md b/.opencode/command/translate.md
new file mode 100644
index 000000000..ed185b1e2
--- /dev/null
+++ b/.opencode/command/translate.md
@@ -0,0 +1,14 @@
+---
+description: translate English to other languages
+model: opencode/claude-opus-4-7
+---
+
+run git diff and translate changed english doc and UI copy files to other international languages. Translate all languages in parallel to save time.
+
+Requirements:
+
+- Preserve meaning, intent, tone, and formatting (including Markdown/MDX structure).
+- Preserve all technical terms and artifacts exactly: product/company names, API names, identifiers, code, commands/flags, file paths, URLs, versions, error messages, config keys/values, and anything inside inline code or code blocks.
+- Also preserve every term listed in the Do-Not-Translate glossary below.
+- Also apply locale-specific guidance from `.opencode/glossary/<locale>.md` when available (for example, `zh-cn.md`).
+- Do not modify fenced code blocks.