RadicalGitter/dsh-ui-translate ↗★ 0
dsh-ui-translate
Privacy-first browser-local Chinese UI and content translation for DeepSeek Harness Web
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RadicalGitter/dsh-ui-translate说明文档
阅读完整 README ↗Configuration
The settings page exposes:
- enable/disable (default: disabled);
- target language (default: English);
- backend (default: offline glossary), including the opt-in browser-local OPUS-MT engine;
- local-model download/initialization status when OPUS-MT is selected;
- translation marker style: purple overlay (default), dashed underline, both, or none;
- delayed-hover per-text original/re-translate controls for translated content;
- OpenAI-compatible endpoint, model, and public-endpoint opt-in when that backend is selected.
The same values can be supplied in a later Cordis patch:
- id: ui-translate
config:
enabled: true
targetLanguage: en
backend: openai-compatible
markerStyle: overlay
endpoint: http://127.0.0.1:11434/v1
model: qwen2.5:7b
allowRemoteEndpoint: false
apiKeyEnv: DSH_UI_TRANSLATE_API_KEY