ShiXiangYu2/dsh-translate-pro
Professional translation for DSH: 18 target languages, 4 styles (formal/casual/technical/literal), glossary-controlled terminology, and whole-file translation (README/docs/subtitles) with Markdown/code-block format preservation; powered by DeepSeek via SiliconFlow.
Professional-grade translation for DSH: 18 target languages (Chinese, English, Japanese, Korean, French, German, Spanish, Russian, Portuguese, Italian, Arabic, Thai, Vietnamese, Indonesian, Turkish, Hindi, Polish, Dutch), 4 writing styles (formal/casual/technical/literal), glossary control (e.g. API=应用程序接口,LLM=大语言模型), whole-file translation preserving Markdown/code blocks/URLs/paths, in-place write-back for instant localized docs, and side-by-side 原文/译文 conversation cards rendered in the chat stream. Two tools: translate (text) and translate_file (whole file, optional inPlace).
Install
dsh plugin --profile demo add github:ShiXiangYu2/dsh-translate-proFrom GitHub (no build step — ships plain ESM): dsh plugin --profile demo add github:ShiXiangYu2/dsh-translate-pro. (npm dsh-translate-pro 404-verified on registry 2026-08-29 — use the GitHub install.) Prerequisite: a free SiliconFlow API key — export SILICONFLOW_API_KEY=sk-xxx — then start with SILICONFLOW_API_KEY=sk-xxx dsh --profile demo. Verify the layer: dsh --profile demo --dump-config shows a '# == dsh-translate-pro' layer.
Compatibility
dsh profiles (demo/web) via dsh.bundle + cordis.patch.yml; powered by DeepSeek models hosted on SiliconFlow (DeepSeek-V4-Flash default, V3.2 for quality).
Details
- Repo: ShiXiangYu2/dsh-translate-pro
- Category: Tools & Capabilities
- Stars: 3
- Version: GitHub source (plain ESM; npm package not published — 404 verified)
- Last push: 2026-08-15
- First seen: 2026-08-15
Recent updates
translate + translate_file tools; 18 languages; 4 styles; glossary pinning; whole-file format preservation; bilingual cards.
FAQ
- How do I install it?
- Set a free SiliconFlow API key, then dsh plugin --profile demo add github:ShiXiangYu2/dsh-translate-pro and start dsh with the key exported.
- Which engines power it?
- DeepSeek V4-Flash (fast/cheap, default) or DeepSeek V3.2 (highest quality), hosted via SiliconFlow.
- Can it translate whole files?
- Yes — translate_file preserves Markdown, code blocks, URLs, and paths, and can write back in place.
Alternatives
Vladimir-Human/humanizer-ru#dsh · ShiXiangYu2/dsh-translate-pro · xmanrui/dsh-weixin