DSH Hub
dsh-think-translate cover

UncleK/dsh-think-translate

dsh-think-translate

UIWeb UI2 GitHub stars· updated 2026-08-26

Thinking-chain UI translation for DeepSeek Harness: 8 target languages, local Ollama model primary with in-panel download, Google/Bing fallback

Install

npx @deepseek-ai/dsh plugin --profile web add dsh-think-translate

Restart `dsh web` after install. Bundle APIs can change during the developer preview.

README badge

dsh-think-translate DSH Hub badge
[![DSH Hub](https://dshhub.dev/badge/dsh-think-translate.svg)](https://dshhub.dev/plugins/dsh-think-translate)

Paste this into your README. The star count updates with every catalog sync.

From the README

Excerpt from UncleK/dsh-think-translate, cleaned of badges and images.

🐋 dsh-think-translate

Languages: English · 中文 · 日本語 · 한국어 · Español · Français · Deutsch · Русский


Translate the reasoning / thinking chain (chain-of-thought), task cards and answers of the DeepSeek Harness Web UI into one of 8 target languages — in real time, on the display layer only. The originals stay untouched in the transcript, and the translated text never enters the model context.

✨ Why dsh-think-translate

DeepSeek-class models often reason in Chinese — or in whatever language they happen to think in. dsh-think-translate renders the Think row, task cards and answer in your language while you watch, like subtitles for the model's thinking.

  • 🕵️ Read any thinking chain — reasoning, chain-of-thought, task cards and answers translated in real time, streamed batch by batch
  • 🌍 8 languages, one consistent UI — 中文 / English / 日本語 / 한국어 / Español / Français / Deutsch / Русский; the settings panel, thinking rows and task cards all follow your choice, and it persists across reloads
  • 🔒 Private & offline-first — local Ollama (qwen2.5:7b / 14b or custom) is the default provider: free, unlimited, nothing leaves your machine. First local-model selection auto-downloads the model with a live progress bar and enables it when done
  • 🧠 Zero context cost — pure display layer: the model still sees the original text, and translated text never consumes the context window
  • ☁️ Google / Bing fallback — automatic switch when the local model is unavailable (google goes through a Node CONNECT tunnel using the system proxy, bypassing anti-bot blocks)
  • 🛡️ Code-safe — file paths, commands, URLs, regexes and pure-code lines are never translated
  • 🧩 Paragraph & sentence-aware chunking — long thinking chains are split on blank lines (paragraph structure preserved) and further batched by sentence, so even a small local model keeps quality
  • ⏱️ Resilient — 3× backoff retries, browser-direct fallback, failed results never cached
  • 🎚️ Adjustable translation timing — pre-translate everything, lazy-load historical chains (default), or translate only the expanded chain

📦 Installation

# Option 1: npm (recommended)
dsh plugin --profile web add dsh-think-translate
# then restart web

# Option 2: GitHub
dsh plugin --profile web add github:UncleK/dsh-think-translate

# Option 3: manual (junction + patch)
#  1. link the package into the profile's node_modules
New-Item -ItemType Junction -Path "$HOME\.dsh\profiles\node_modules\dsh-think-translate" `
  -Target "<repo path>"
#  2. add to "$HOME\.dsh\profiles\web\cordis.patch.yml":
# - insert:
#     - id: dsh-think-translate
#       name: dsh-think-translate
#  3. restart web

🚀 Usage

Related plugins