Files
opencode/script/translate-app.md
T
+20 687dbba6a3 chore: merge dev into v2 (#35962)
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: James Long <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: Dustin Deus <[email protected]>
Co-authored-by: starptech <[email protected]>
Co-authored-by: Frank <[email protected]>
Co-authored-by: Luke Parker <[email protected]>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: 𝓛𝓲𝓽𝓽𝓵𝓮 𝓕𝓻𝓪𝓷𝓴 <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: Dax <[email protected]>
Co-authored-by: usrnk1 <[email protected]>
Co-authored-by: Jay <[email protected]>
Co-authored-by: Brendan Allan <[email protected]>
Co-authored-by: Brendan Allan <[email protected]>
Co-authored-by: runvip <[email protected]>
Co-authored-by: Shoubhit Dash <[email protected]>
Co-authored-by: Jack <[email protected]>
Co-authored-by: opencode <[email protected]>
Co-authored-by: Aarav Sareen <[email protected]>
Co-authored-by: Julian Coy <[email protected]>
Co-authored-by: Vladimir Glafirov <[email protected]>
Co-authored-by: Adam <[email protected]>
Co-authored-by: Kit Langton <[email protected]>
Co-authored-by: Simon Klee <[email protected]>
Co-authored-by: Jay <[email protected]>
Co-authored-by: David Hill <[email protected]>
Co-authored-by: James Long <[email protected]>
Co-authored-by: 冯基魁 <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
2026-07-08 17:58:55 -05:00

1.6 KiB

Translate the product app locale $1 from the English source dictionaries. English is the read-only source of truth. Its copy is intentional and must never be modified, rewritten, or "improved."

The translation request below contains the locale glossary, exact source and target files, plus missing, extra, and placeholder-mismatched keys.

$ARGUMENTS

Requirements:

  • Edit only the target files listed in the request. Never edit English, another locale, tests, registries, docs, or other packages.
  • Treat every English key and value as intentional. Translate from it without changing the English source files in any way.
  • Add every missing key with a natural, concise translation suitable for application UI.
  • Remove keys listed as extra and repair values listed under placeholders so their {{tokens}} exactly match English.
  • Preserve existing translations unless they have a listed placeholder mismatch.
  • Preserve meaning, intent, tone, capitalization, punctuation, whitespace, and formatting.
  • Preserve technical terms and artifacts exactly: OpenCode, API names, identifiers, code, commands, flags, paths, URLs, versions, error messages, config keys, and placeholder tokens.
  • Apply the locale glossary included in the request.
  • ui.sessionTurn.diffs.changed.one and ui.sessionTurn.diffs.changed.other are complete count phrases. Preserve {{count}} and translate the whole phrase naturally rather than composing translated fragments.
  • Use only read, glob, grep, and edit tools. Do not run commands or delegate work.
  • Finish only when every requested key is synchronized and no other file has changed.