AI Agent Hub
Back to plugins
⚙️

dsh-agent-lang

Workflow Updated 2026.09.05

Run the following command in DeepSeek Harness:

dsh plugin install KannaKuron/dsh-agent-lang

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install KannaKuron/dsh-agent-lang in the terminal to install; the source code is available at https://github.com/KannaKuron/dsh-agent-lang. After installation, restart DSH and enable the plugin via Settings > Plugins.

About this plugin

In DeepSeek Harness, every tool-call description is rendered verbatim on the UI card, yet the tool schema guidance for that field is entirely English with English examples. The model therefore writes English descriptions by default, no matter what locale the interface is set to. Users working in Chinese, Japanese, or Korean end up reading a mix of their UI language and stray English on every single step. dsh-agent-lang closes that gap.

It operates purely at the prompt level: each turn injects a language directive into the runtime-context snapshot, telling the model the current GUI locale and asking it to write tool descriptions, reasoning, and replies in that language. Three modes are available—follow the UI locale (explicit setting takes priority over browser language), force any BCP 47 tag (zh, ja, ko, etc.), or disable entirely and fall back to default English. It covers standard, PTC, Cordis, and user-defined presets. Switching the interface language takes effect on the very next request with no restart, and no preset, persona, or tool schema is ever modified.

If you run tool-heavy workflows in DSH—multi-step task orchestration, code review, shell automation—and want card titles, model reasoning, and final output to all match your interface language, this pure-JS, zero-build, zero-extra-dependency plugin is a drop-in fix. It leaves no deployment assets behind, so upstream upgrades never overwrite it. Minimal mode is excluded by design due to its sealed prompt; every other mode works out of the box.

Use Cases

  • Tool card titles automatically follow the Chinese UI locale
  • Switching interface language takes effect on the next request without restart
  • Force a BCP 47 tag (ja, ko) to override the model default English

Best For

  • DSH users running tool-heavy workflows in Chinese or Japanese UIs
  • Developers who want card titles to match their interface language
  • Teams orchestrating multi-step tasks with unified output language