Force the model to write all replies in a chosen language (Simplified Chinese by default) via a system-prompt section, switchable anytime with a tool.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:CAI-MH/dsh-reply-language
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
English | 中文
Force the model to reply in a specific language (Simplified Chinese by default) in DeepSeek Harness (DSH) — switchable at any time via a tool.
Features
- Injects a system-prompt section that requires the model to write all replies in the configured language — explanations, summaries, body text and error messages included
- Code, commands, file paths, API names and proper nouns stay in their original form
- Ships two model tools:
reply_language_set— switch the required reply language on the fly (e.g. 中文, English, 日本語, Français); takes effect immediatelyreply_language_get— show the currently required reply language
Install
dsh plugin --profile web add dsh-reply-language
Or add it to your profile's package.json dependencies and list it under dsh.profile.bundles, then restart dsh web.
How it works
The plugin registers a system-prompt section (order: 900) that pins the reply-language requirement above any language hints in user messages, until explicitly changed via reply_language_set. Host-only bundle — no client UI.
Configuration
No configuration required. The default language is Simplified Chinese; change it at runtime with the reply_language_set tool.
License
Links
More in this category
kingcharleslzy-ai/dsh-purge★ 1863
Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.
techflag/workdsh#enterprise-connection★ 255
Enterprise login, colleague mentions, shared text and files, and authenticated business requests for WorkDSH Desktop 2.0.6-alpha.3+ with WorkDSH Admin; distributed as a release archive.
ECNU/EduWork#dsh-oidc★ 214
Configurable OIDC login and token-authorized model access, including LiteLLM and opt-in oidc-llm integration, with a standalone DSH Web backend.
FNOSP/fnos-dsh#dsh-codex-auth-plugin★ 49
ChatGPT account sign-in for DeepSeek Harness through a Codex browser OAuth flow with no API key and no workspace selection: subscribes the login to pi-ai's Codex provider, lets you set the global default Codex model and reasoning effort for new sessions, refreshes the model list from the signed-in account's own catalog endpoint, and shows the five-hour and weekly usage windows in the composer.
huaizhuanghub/dsh-persona-dafeiyu★ 48
Persona library for DeepSeek Harness: injects the selected persona into the system prompt, offering three built-ins plus import from a file or pasted text, applied either profile-wide or per session from a switcher above the composer.
Len7183/DSH-Think-zh★ 41
Pins the model's reasoning language to a tier picked in Settings - General - Thinking language (Simplified Chinese, or a default tier that only constrains replies and leaves reasoning to the model), by injecting a system-prompt section at order -1000000 and re-hoisting it to first place at the end of the assemble waterfall, plus an optional per-turn copy placed ahead of each user message for models that follow static sections weakly.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.