DeepSHPlugins
dsh-i18n 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-i18n

UI 增強JavaScriptMIT

為 DeepSeek Harness 介面新增 20 種語言(繁體中文香港/臺灣、日語、韓語、法語、德語、西班牙語、葡萄牙語、義大利語、俄語、烏克蘭語、波蘭語、荷蘭語、土耳其語、阿拉伯語、印地語、印尼語、越南語、泰語、瑞典語),逐條精譯並帶執行時兜底,另加自動翻譯,把市場與第三方文字翻譯成你的語言。

2 Starsmimateinn 更新時間 2026-09-08
訪問 GitHub 倉庫
dsh-i18n 專案預覽

專案介紹

中文

為 DeepSeek Harness 介面新增 20 種語言(繁體中文香港/臺灣、日語、韓語、法語、德語、西班牙語、葡萄牙語、義大利語、俄語、烏克蘭語、波蘭語、荷蘭語、土耳其語、阿拉伯語、印地語、印尼語、越南語、泰語、瑞典語),逐條精譯並帶執行時兜底,另加自動翻譯,把市場與第三方文字翻譯成你的語言。

English

Adds 20 locales (Traditional Chinese HK/TW, Japanese, Korean, French, German, Spanish, Portuguese, Italian, Russian, Ukrainian, Polish, Dutch, Turkish, Arabic, Hindi, Indonesian, Vietnamese, Thai, Swedish) to the DeepSeek Harness Web UI, with hand-polished translations, runtime fallbacks, and automatic translation of market and third-party text.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
mimateinn
倉庫
mimateinn/dsh-i18n
GitHub Stars
2
Forks
1
開發語言
JavaScript
許可證
MIT
最近推送
2026-09-08
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

66/ 100
維護活躍
99
文件與實用資訊
100
生態關注度
23
安裝便捷訊號
100
專案宣告訊號
100

近 3 天仍在更新;README 含完整安裝與使用說明;關注度尚低(2)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add @mimateinn/dsh-i18n

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-i18n

繁體中文(香港) · 繁體中文(台灣) · English · 日本語 · 한국어 · Français · Deutsch · Español · Português (Brasil) · Italiano · Русский · Українська · Polski · Nederlands · Türkçe · العربية · हिन्दी · Bahasa Indonesia · Tiếng Việt · ไทย · Svenska

A sustainable internationalization plugin for the DeepSeek Harness Web UI. Version 0.2.3 registers 20 locales from one registry while preserving DSH's existing client ModuleLoader integration, locale service, preference migration, and runtime fallback behavior.

Locales

繁體中文(香港、台灣), 日本語, 한국어, Français, Deutsch, Español, Português (Brasil), Italiano, Русский, Українська, Polski, Nederlands, Türkçe, العربية, हिन्दी, Bahasa Indonesia, Tiếng Việt, ไทย, and Svenska.

  • Traditional Chinese locales (zh-HK, zh-TW) fall back from the built-in Simplified Chinese dictionaries through the existing character converter.
  • Arabic sets the document language and direction to ar / rtl; other managed locales use ltr.
  • Untranslated non-Chinese values fall back to English.

Features

  • Adds all 20 locales to Settings → General → Language, alongside the built-in 中文 / English.
  • Per-language hand-polished translations for every official locale namespace (715 strings each), from an English baseline.
  • Runtime fallback: new/updated/third-party strings fall back to English (or Simplified→Traditional conversion for zh-HK/zh-TW), so upstream UI updates and other plugins are covered without re-translating every language.
  • Language preference persisted in browser localStorage; reload-proof.
  • Auto-translate: with a non-Chinese locale active, long English text (plugin-market descriptions, third-party UI, error prose) is auto-translated to your language through your configured model, and cached so re-renders don't undo it. The default language (en/zh) is left untouched; Traditional Chinese keeps the built-in Simplified→Traditional conversion instead of calling a model.
  • Zero intrusion on dictionaries: no upstream package changes, silent degradation if the locale service is missing.

Install

Install from npm (exact version — this is what DSH Desktop's Market update button needs):

dsh plugin --profile <active-profile> add @mimateinn/[email protected]

Or from GitHub, pinned to a commit:

dsh plugin --profile <active-profile> add github:mimateinn/dsh-i18n#<commit>

For DSH Desktop the active profile is the active value in %APPDATA%/DSH Desktop/profile-selection/state.json (usually desktop). The per-profile shim host-commands/<profile>/bin/dsh.cmd bakes its own profile name into the command, so running the web shim installs into the web profile even while Desktop is showing desktop — the install succeeds and the plugin is never loaded. Pass --profile explicitly to be sure.

DSH Desktop's Market install paths accept only an exact published npm version, so a GitHub spec must go through the built-in terminal dsh plugin add, which forwards the specifier to pnpm unvalidated.

Restart the host, then choose a language in Settings → General → Language. Remove with dsh plugin --profile <active-profile> remove dsh-i18n.

Compatibility

  • DeepSeek Harness 0.1.0-rc.6 or newer, including the current published line 0.1.1-rc.2 (@deepseek-ai/dsh npm latest / next, 2026-08-27).
  • Node.js ^22.19.0 || >=24.0.0 (official harness engines.node at dsh-v0.1.1-rc.2).
  • Host packages are peerDependencies with an explicit 0.1.1-rc.* branch so node-semver does not silently exclude harness prereleases (awesome-dsh-plugin contributing).

Maintenance pipeline

The locale registry is scripts/locales.mjs. Translation data remains in src/<locale>/; generated browser code is lib/client.js.

npm run i18n:check     # file, namespace/key, stale, placeholder, empty, English-residue, Simplified-residue parity
npm run i18n:build     # assemble registry locales into lib/client.js
npm test               # check + build + converter verification + runtime harness

node scripts/extract.mjs <installed-dsh-path>

Extraction accepts an installed DSH root, its @deepseek-ai package directory, or the unpacked desktop application path.

Publishing

The npm package includes runtime entries, the generated client, locale data, and the locale registry. Source repository: https://github.com/mimateinn/dsh-i18n

Security and privacy

  • The plugin makes no network calls itself, has no telemetry, and reads/writes only two browser localStorage keys: the selected locale id and the translate-model override.
  • Auto-translate runs through DSH's built-in LLM service (your configured model), not a third-party API. It only fires for long English prose when a non-Chinese locale is active; the default language is never sent for translation.
  • No filesystem access, no credential handling.

License

MIT

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案