RadicalGitter/dsh-ui-translate

RadicalGitter★ 0TypeScript最后同步: 2026-08-21

在 GitHub 打开

Privacy-first browser-local Chinese-to-English translation for DeepSeek Harness Web using OPUS-MT.

README 摘要

dsh-ui-translate A privacy-first DeepSeek Harness Web plugin that can translate all visible Chinese UI and content—including session titles, workspace names, messages, search results, and plugin text—without enabling Chrome auto-translate. Privacy and mutation model - The plugin is disabled on first install and defaults to the in-process offline glossary. - Network-capable translation remains restricted to a compile-time allowlist of known DSH UI phrases and bounded numeric templates. - The explicitly selected browser-local OPUS-MT backend translates all connected visible Chinese text, including user-authored and session-derived content. Source text and translations stay inside a dedicated browser Worker and are never uploaded. - Editable/composer fields, textarea , input , select , contenteditable , code/preformatted content, [data-input-backdrop] , translate="no" , and .notranslate remain untouched to avoid corrupting authored or executable text. A plugin may explicitly mark a read-only as prose with data-dsh-translate="prose" ; only the browser-local backend may translate that opt-in surface. - Translation changes only Text.data ; element structure, attributes, stable session/wo…

在 GitHub 查看完整 README →
工具/开发deepseek-harnessdshdsh-pluginopus-mtprivacytranslationsearch

分类