Preface¶
In DeepSeek Harness (DSH), translating typically involves starting a new conversation, manually writing a prompt like “please translate the following content into a certain language,” and then pasting the source text. You often have to pick the model and reasoning effort on the fly, and for longer texts you end up scrolling repeatedly through the message area. If you want a fixed translation interface with reusable parameters, while still using the model catalog and API keys already configured in Harness, you need a dedicated entry point attached to the client UI.
The community plugin dsh-translate-tab (maintainer: Zhen-Bo, category: client) adds a Translate entry under the sidebar Plugins. The main area switches to a two-column layout: you enter the source text on the left, and the translation streams in on the right. It also lets you choose the model, adjust reasoning effort, and customize the translation prompt.
What Is This¶
dsh-translate-tab is a translation plugin for DeepSeek Harness. Its README describes it as: it provides a Translate entry under the sidebar Plugins, turning the main area into a two-column translator with model, effort, and prompt controls.
- Repository: https://github.com/Zhen-Bo/dsh-translate-tab
- Community directory page: https://www.skillhub.cn/plugins/Zhen-Bo/dsh-translate-tab
- License: MIT (consistent in README and package.json)
- npm package name:
dsh-translate-tab(package.json version is 1.0.0)
The plugin and the Harness chat share the same provider and model catalog. By default it uses the default model in the catalog and leaves reasoning effort off, to reduce the latency of the first translation.
Core Features¶
UI and Integration¶
- Opens the two-column translation view via the sidebar Plugins › Translate.
- The interface language follows the Harness language setting, supporting English, Simplified Chinese, and Traditional Chinese.
Languages¶
Supports 15 languages as source or target: Traditional Chinese, Simplified Chinese, English, Japanese, Korean, French, German, Spanish, Portuguese, Italian, Russian, Vietnamese, Thai, Indonesian, Arabic.
The source language can be auto-detected; the detection scope includes Japanese, Korean, Arabic, Thai, Russian, Simplified Chinese, Traditional Chinese, and English.
Model and Reasoning¶
- The model selector at the top-right shares the model catalog with Harness chat.
- A slider below the model list adjusts reasoning effort.
Configurable Prompt¶
A button next to the model selector opens the prompt editor. The prompt is sent as the user message and supports variable substitution:
| Variable | Meaning |
|---|---|
{{target_language}} |
English name of the target language, e.g. Japanese |
{{source_language}} |
Name of the source language, or the detected source language |
{{text}} |
The source text; if the prompt does not contain this variable, it is appended at the end |
Local Storage¶
| Data | Location | Lifecycle |
|---|---|---|
| Language, model, reasoning effort, custom prompt | localStorage key dsh-translate-tab:v1 |
Persistent |
| Source text draft | sessionStorage key dsh-translate-tab:draft |
Current window session |
Server-Side Interface (Architecture Notes)¶
The host side provides POST /translate/api/stream, which returns a newline-delimited JSON stream for same-origin requests from the Harness window, such as translation fragments {"t":"text","v":"..."}, completion {"t":"done"}, etc. The client is in src/client (React + TypeScript); the server is in src/server.
Environment and Prerequisites¶
- DeepSeek Harness desktop is installed, and the
dshCLI is on thePATH. - At least one model with a valid API key is configured in Settings › Models.
Installation and Activation¶
Pick any installation method below. After completion, you must restart DeepSeek Harness.
Via DSH Plugin Hub¶
- Install Plugin Hub:
dsh plugin --profile desktop add dsh-plugin
- Restart DeepSeek Harness.
- Open Settings › Plugin Market, search for
dsh-translate-tab, and select Install.
Via npm¶
dsh plugin --profile desktop add dsh-translate-tab
Restart DeepSeek Harness.
Via GitHub¶
dsh plugin --profile desktop add "github:Zhen-Bo/dsh-translate-tab"
Restart DeepSeek Harness.
Typical Usage¶
- Open Plugins › Translate in the sidebar.
- Enter the source text on the left.
- Press Ctrl+Enter (⌘+Enter on macOS); the translation streams in on the right.
If you need to switch models or increase reasoning, adjust the model and reasoning effort at the top-right of the page. If you want to change the translation style, edit the prompt containing {{target_language}}, {{source_language}}, and {{text}}.
Troubleshooting (README Summary)¶
| Message | Action |
|---|---|
| This model has no API key yet | Add a key in Settings › Models, or switch models |
| The API key was rejected | Verify the key in Settings › Models |
| Too many requests | Wait a moment and retry |
| The response stopped early | Re-run the translation |
| Text is too long | Split the source text into segments, each under 100,000 characters |
If Translate does not appear under the sidebar Plugins, check that the installation succeeded and restart Harness.
Uninstall:
dsh plugin --profile desktop remove dsh-translate-tab
After uninstalling, you also need to restart DeepSeek Harness.
Use Cases and Notes¶
Who it’s for: Users who have already configured multiple models in the DSH desktop, want to translate bidirectionally among 15 languages such as Chinese, English, Japanese, and Korean within a fixed UI, and need streaming output and saveable prompts.
Permissions and security: The plugin runs under the permissions of the current DeepSeek Harness process, and translation requests are routed by the plugin’s server to the selected model. Before installing, it is recommended to read the repository source code and the MIT license to confirm the behavior meets your environment policy. The community directory (e.g. skillhub.cn, dsh-plugin.org lists) is an independent ecosystem site, with no official affiliation with DeepSeek / High-Flyer, and should not be equated with an official app store.
Limitations: The maximum length of the source text per run is 100,000 characters (see Troubleshooting); models without a configured API key cannot be used.
Conclusion¶
dsh-translate-tab consolidates translation from “ad-hoc conversations” into a two-column page in the sidebar: it shares the Harness model catalog, supports 15 languages with source language detection, and offers adjustable reasoning effort and prompt templates, making it suitable for everyday side-by-side translation within the desktop Harness.