Community plugin

UncleK / dsh-think-translate

Display-layer translation for the DSH web app: thinking chain, task cards, and optional answer text, in 9 target languages (local Ollama / any OpenAI-compatible or Anthropic endpoint / Google / Bing, fail-open)

  • JavaScript
  • MIT
  • 80 stars
  • Nov 11, 2026

About this plugin

Written by the registry from verified metadata, not from the README.

dsh-think-translate is a DSH plugin published from the UncleK/dsh-think-translate repository.

  • Listing statusManifest verified
  • Manifest checkedNov 15, 2026
  • Packagedsh-think-translate
  • Package version1.2.26
  • DSH engine>=0.1.0-rc.6
  • Source commit3d4cc09
  • Repository createdAug 24, 2026

Capabilities and topics

dshdsh-plugindeepseek-harnesstranslation
From the repository README

README

Everything below this line is the repository's own document, cached here. This site did not write or review it.


See thinking unfold

Comparison with the official translation plugin

Enable either this plugin or the official reasoning translator. Both take over the reasoning interface. While the official plugin is enabled, this plugin yields its translation views and displays a conflict notice. It resumes when the official plugin is disabled, without changing the official plugin's configuration.

One command to get started

dsh plugin --profile web add dsh-think-translate

After installation, fully restart DSH Web. Open Settings → Think Translation, then choose the target language and providers. Enable Show translation in the sidebar to pin the translation controls beside the other global panels. The page groups translation preferences, services and activity into cards, with a single-column layout in narrow windows. The settings dialog uses compact single-column sections with the same controls. The choice is saved in this browser and survives page refreshes and DSH restarts; switch it off in either the settings dialog or the translation page to remove the shortcut.

Install from GitHub:

dsh plugin --profile web add github:UncleK/dsh-think-translate

Update from npm:

On the first update from 1.2.21 or earlier, stop DSH and, inside the active profile directory, copy node_modules/dsh-think-translate/lib/config.json to dsh-think-translate/config.json (create the directory if needed). Keep the destination if it already exists. The plugin market may uninstall the old package first, so copy the file before updating. The new version keeps providers, glossaries and DSH credential references under the profile.

dsh plugin --profile web add dsh-think-translate@latest

Fully restart DSH after installing or updating. For manual deployment, link the package into the profile and add its entry to cordis.patch.yml; the commands above are recommended for everyday use.

More than reasoning to understand

Connect providers you already use

Ollama · Google · Bing · OpenAI · Anthropic Messages API

Discover providers already configured in DSH without entering endpoints and keys again. Test each provider separately; list order controls the order of attempts.

Your first choice → next enabled provider → … → originals if all fail
  • Custom endpoints support OpenAI-compatible /v1/chat/completions and the native Anthropic Messages API.
  • Discovery reads the current DSH profile and overrides. Rescan and add discovered providers to the translation chain.
  • An apiKeyEnv key is resolved at request time; resolved credentials are never written back to plugin configuration.
  • Manually entered keys are saved through DSH credentials; plugin configuration stores references only. Legacy literal keys migrate when that service is available. Unavailable storage rejects new literal-key saves; a failed migration retains the previous configuration.
  • Configuration responses never contain saved key values. Leave an edited key field blank to retain it; explicitly select “Remove saved key” to delete it. DSH owns credential-file access protection; this is not OS-keychain encryption.
  • Successful translations persist in the current browser, separated by provider, model and translation configuration. Configuration changes invalidate old results, including requests already in flight. Cache-version upgrades retain preferences.
  • Failures cool down in host memory for 30 seconds, then subsequent translation requests can retry. Clearly wrong-language results try the next provider.
  • Language detection skips text already recognized as the target language; explicit provider tests still make a real request.

Glossary: consistent terms

The built-in glossary and custom entries have separate checkboxes in their own sections. Both apply immediately and independently; disabling either keeps your entries. The opt-in preset contains 60 common English AI/programming terms and product names for all nine target languages. Enabled custom terms override matching built-ins and retain 128 extra slots. Unsaved edits highlight Save and show reminders, including drafts in other languages. Wide pages use side-by-side preset/custom panes and horizontal status; narrow pages and dialogs stack them.

Each target language has its own glossary in settings and the sidebar translation page. Enter one source => translation pair per line and save. Using the same text on both sides preserves a product name.

DeepSeek => DeepSeek
智能体 => AI agent
思考过程 => reasoning

English matches whole words without case sensitivity; longer terms take precedence. Code, paths and commands remain intact. Up to 128 entries per language. Saving invalidates old translations; disabling the glossary keeps your entries. Terms apply to prose actually submitted for translation, without rewriting the original.

Local translation models: load and release on demand

Your actionPlugin behavior
Translate or testStart the service and load the selected model on demand
Release model memoryWait for active translations, then unload; preserve files, switches and order
Uncheck the local providerDisable it and unload the selected model
Re-enable it or open settingsNo preload; load on the next actual translation
Set idle release5 minutes by default; choose 1 / 5 / 10 / 30 / 60 minutes or off

Idle timing applies from the next use. Ollama tracks the selected model; global environment variables are unchanged. Missing software or models are installed or downloaded only after you click the preparation button, with progress shown.

Language settings that follow you

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

Nine target languages, settings translations and task labels, including Portuguese. Your selection survives a page refresh.

Answers to common questions

Fully restart dsh web. The client module graph is assembled at process start; refreshing the page alone may not load a new plugin. The settings footer shows the installed package version.

Check ollama list or /api/tags, the active model directory, and the service’s OLLAMA_MODELS. Existing model files do not need to be downloaded again.

Run pnpm run build in the DeepSeek Harness repository, then restart DSH Web.

When all enabled providers fail, the original remains. Test individual providers and inspect the latest error in settings. Translation requests can retry after cooldown.

1.2.26 Shows the DSH provider display name and configured model in translation settings, for example OpenRouter · openrouter/free.

1.2.25 Fixes Windows proxy detection for translation requests (#26).

1.2.24 Keeps API keys intact when DSH rescans and provider edits overlap (#25) and requires a same-origin POST to rescan (#18).

1.2.23 Restores translation for later reasoning blocks that start empty (#23), fixes todo dock icons (#24), and recognizes prose around common CJK slash expressions and file paths (#22).

1.2.22 Stores translation settings under the DSH profile (#21) and fixes glossary fallback to shorter terms (#20). Follow the configuration copy step above when upgrading from an older version.

1.2.21 Fixes repeated translation requests during rapid task updates (#17). Task text is translated after 500 ms without changes.

1.2.20 adds an opt-in, one-click technical glossary with 60 terms and product names for all nine target languages. Custom entries override built-ins and retain their own allowance; preview and disable the preset without removing custom entries.

1.2.19 adds per-language glossaries, DSH-managed credentials, configuration-aware caches, official-plugin mutual exclusion, stronger technical-text protection and Windows/Linux CI.

1.2.18 adds a persistent sidebar entry for the translation controls (toggle in settings or the translation page, saved per browser) and redesigns the translation page and settings dialog into card-based sections with a responsive single-column layout in narrow windows.

1.2.17 fixes idle-policy changes for already loaded Ollama models, allows up to 120 seconds for local inference, and displays the server idle countdown. Addresses reproducible parts of issue #17; long-term memory growth remains under investigation.

1.2.16 adds Portuguese throughout the translation target and UI, refreshes all nine READMEs and localized comparison images, and declares three marketplace images.

1.2.15 adds local model memory management and adapts to DSH 0.2.2-alpha.2 image rendering, grouped reasoning collapse and original text selection.

Earlier versions and details: GitHub Releases.

  • lib/index.js: host routes, providers, configuration, memory cache and local model lifecycle.
  • lib/client.js: settings, display-layer translation, streaming batches and browser cache.
  • lib/config.json: runtime configuration, excluded from Git and npm.
  • No extra build step: source files are the deliverable. Restart DSH after changing host code.
  • Run checks with npm test. Discovery and credential handling are documented in the maintenance notes.
  • Push/PR CI runs npm ci --ignore-scripts and npm test on Windows/Linux with Node 20/22/24/26. Node 20 checks the declared compatibility floor; required merge checks need separate repository settings.
  • Protection covers Markdown code, recognizable paths, URLs, filenames and common command fragments. Quote paths containing spaces; use backticks or fenced blocks for complex commands and ambiguous technical text. Separate a bare URL from adjacent CJK prose with backticks, whitespace or full-width punctuation.

Badge

Listed here? Link back with this badge — paste the snippet into your repository README.

Listed on DSH Plugin badge
[![Listed on DSH Plugin](https://dsh-plugin.com/badges/listed.svg)](https://dsh-plugin.com/plugins/UncleK/dsh-think-translate)