Re-applies Chinese UI labels to the DSH client modules on every start, so translations survive upgrades.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Xingkong42/dsh-zh-labels
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
Keep the DeepSeek Harness Web UI in Chinese — even after upgrades.
Tool row titles (Read / Write / Bash / Pwsh…), the reasoning disclosure title (Think),
trajectory panel labels, and the sidebar brand name are hard-coded in the client
modules (lib/client.js). Editing files inside node_modules directly gets
overwritten on every DSH upgrade, silently reverting the UI to English.
This plugin re-applies the patch automatically on every DSH start: it scans the installed client module files and replaces the known English labels with their Chinese translations. After an upgrade overwrites the files, the next start restores them — no manual intervention needed.
Features
- Auto-patch on startup: once mounted, every DSH start re-applies the patch
- 316 replacement rules: tool titles, Think, full trajectory panel, sidebar, skill row
- Multi-root detection: scans npm global, profile-shared, and profile-web DSH installs
- Idempotent: skips files that already contain Chinese — safe to re-run
- Fault-tolerant: a failing rule never blocks the others; changed strings are skipped
- UTF-8 safe: reads/writes without BOM, preserving source encoding
Install
Option 1: DSH plugin install (recommended)
dsh plugin --profile web add github:Xingkong42/dsh-zh-labels
Option 2: Manual
Clone or copy the repo into the profile's node_modules:
cd ~/.dsh/profiles/web/node_modules git clone https://github.com/Xingkong42/dsh-zh-labels.gitEdit
~/.dsh/profiles/web/package.json— append"dsh-zh-labels"todsh.profile.bundles.Restart DSH (
dsh web). The plugin applies the patch on startup.
Verify
After restart, open the Web UI and hard-refresh (Ctrl+F5) to see the Chinese labels. Or check over HTTP:
curl -s http://127.0.0.1:3080/plugins/@deepseek-ai%2Fdsh-client-ui-tool/client.js | grep -c "搜索"
A non-zero count means the patch is live.
Updating rules
If a label stops being translated after an upgrade, its English string changed
shape in that version. Update the PATCHES rules in lib/index.js and restart DSH.
Unmatched rules are skipped gracefully, so the rest of the UI stays translated.
Layout
dsh-zh-labels/
├── lib/
│ └── index.js # patch engine (316 rules + install-root scan)
├── cordis.patch.yml # bundle patch entry (composition mount)
├── package.json # plugin manifest
└── tools/
└── verify.mjs # rule-hit verification script
License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8440
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8440
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4135
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 4130
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4031
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1424
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.