HuanLinOTO/dsh-plugin-better-locale ↗★ 1

@huanlin/dsh-plugin-better-locale

DSH web 插件:通过 DSH v0.1.5-rc.1 原生第三方语言 API(locale.addLanguage + register(ns, locale, dict))注册 19 种内置语言字典(ja/ko/fr/...),语言直接出现在 DSH 设置页原生 Language 行中切换,未覆盖文案按 fallback 链回退英文。 | DSH web plugin: registers 19 bundled third-language dictionaries (ja/ko/fr/...) through DSH v0.1.5-rc.1's native language-pack API (locale.addLanguage + register(ns, locale, dict)); languages become selectable in DSH's own Language settings row, with per-key fallback to English. 适合需要将界面切换为日语、韩语、法语等非英中语言的用户。

Package
@huanlin/dsh-plugin-better-locale
Compatibility
Unverified
Harness peer range
^0.1.5-rc.2
Cordis peer range
^4.0.1
Version
0.4.3
License
NOASSERTION
Last updated
Sep 11, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-better-locale

Usage

Open Settings → General → Language: every bundled language is listed alongside DSH's built-in 中文 / English. Pick one and the whole UI switches immediately — the selection persists in DSH's durable locale.preference setting (survives browsers and devices sharing the same DSH home), and `` follows.

Uncovered namespaces / keys fall back through DSH's per-key fallback chain (selected language → declared fallback → en; the Traditional Chinese variants declare zh, so their gaps show Simplified Chinese rather than English). Coverage table: TRANSLATION.md (regenerate with pnpm run gen:translations).