dsh-screen-translator: A Full-Screen Translation Plugin for the DeepSeek Harness Web UI

Introduction

When using DeepSeek Harness Web UI, users working in a non-native language environment frequently encounter menus, sidebars, settings panels, and the MCP connector interface, requiring constant language switching. The dsh-screen-translator plugin provides a solution by translating visible areas in real time directly inside the DSH Web runtime, eliminating the need to switch back and forth between the browser and local tools.

Core Features

  • 45+ Languages Supported: Supports more than 45 languages, including English, Simplified Chinese, Traditional Chinese, Japanese, Korean, Spanish, French, German, Russian, and Arabic.
  • Multi-Endpoint Google Engine: Automatically switches between endpoints such as dict-chrome-ex, clients5, single-at, and web-at to avoid 429 errors caused by rate limiting.
  • Full-Spectrum DOM Coverage: Handles visible text nodes, SVG typography (<text>, <tspan>), interactive attributes (placeholder, title, alt, aria-label), Shadow DOM roots, and same-origin/nested iframes.
  • High Performance & Zero-Lag: Uses a dual-cache mechanism with in-memory LRU caching and LocalStorage persistence, combined with a debounced MutationObserver, to achieve 0ms rendering latency. Supports [data-no-translate] tags and code blocks to prevent circular translation.
  • Clean Native UI Integration: The interface is integrated into Settings → General and supports one-click translation and cache clearing.

Installation

It is recommended to install via the DSH plugin manager:

dsh plugin add mustakimabdullah25-tech/dsh-screen-translator

Configuration and Usage

After installing and enabling the plugin, configure it using the following steps:

  1. Open Settings → General.
  2. Locate the Screen Translator (Auto-Translate Everywhere) section.
  3. Select the Target Language from the dropdown menu.
  4. Turn on Enabled.
  5. Click Translate now to force-translate the current visible area, or click Clear cache to clear the cache.

Use Cases and Considerations

  • The plugin runs under the current DSH process permissions, requires no external API key configuration, and is not subject to rate limits.
  • The code is released under the MIT License, and the source code is hosted on GitHub.
  • It is recommended to review the source code before installation to ensure compliance with local security policies.

Conclusion

dsh-screen-translator removes reading barriers caused by multiple language environments in the DSH Web UI. Through its built-in caching mechanism and multi-endpoint failover, it delivers a stable and low-latency translation experience. For more details and source code, visit GitHub.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye