Back to Opencode

zh-cn Glossary

.opencode/glossary/zh-cn.md

1.14.392.1 KB
Original Source

zh-cn Glossary

Sources

Do Not Translate (Locale Additions)

  • OpenCode (preserve casing in prose; keep opencode only when it is part of commands, package names, paths, or code)
  • OpenCode Zen
  • OpenCode CLI
  • CLI, TUI, MCP, OAuth
  • Model Context Protocol (prefer the English expansion when introducing MCP)

Preferred Terms

These are preferred terms for docs/UI prose and may evolve.

EnglishPreferredNotes
prompt提示词Keep --prompt unchanged in flags/code
session会话
provider提供商
share link / shared URL分享链接Prefer 分享 for user-facing share actions
headless (server)无界面Docs wording
authentication认证Prefer in auth/OAuth contexts
cache缓存
keybind / shortcut快捷键User-facing docs wording
workflow工作流e.g. GitHub Actions workflow

Guidance

  • Prefer natural, concise phrasing over literal translation
  • Keep the tone direct and friendly (PR #13942 consistently moved wording in this direction)
  • Preserve technical artifacts exactly: commands, flags, code, inline code, URLs, file paths, model IDs
  • Keep enum-like values in English when they are literals (for example, default, json)
  • Prefer consistent terminology across pages once a term is chosen (会话, 提供商, 提示词, etc.)

Avoid

  • Avoid opencode in prose when referring to the product name; use OpenCode
  • Avoid mixing alternative terms for the same concept across docs when a preferred term is already established