RadicalGitter/dsh-ui-translate0

dsh-ui-translate

Privacy-first browser-local Chinese UI and content translation for DeepSeek Harness Web

包名
dsh-ui-translate
版本
0.4.0
许可证
MIT
最近更新
2026年8月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:RadicalGitter/dsh-ui-translate

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