dsh-plugin-better-locale

DSH web 插件:通过运行时 monkey-patch LocaleRuntime.lookup 注入第三语言(ja/ko/...)覆盖,保持 dsh active locale 不变;通过 DSH 设置页通用分区暴露切换 UI。 | DSH web plugin: injects third-language (ja/ko/...) overrides via a runtime monkey-patch of LocaleRuntime.lookup, leaving the dsh active locale unchanged; exposes a switcher UI through the DSH settings page (General section).

界面与主题NOASSERTION☆ 2

插件介绍

当前显示项目原文。

DSH web 插件:通过运行时 monkey-patch LocaleRuntime.lookup 注入第三语言(ja/ko/...)覆盖,保持 dsh active locale 不变;通过 DSH 设置页通用分区暴露切换 UI。 | DSH web plugin: injects third-language (ja/ko/...) overrides via a runtime monkey-patch of LocaleRuntime.lookup, leaving the dsh active locale unchanged; exposes a switcher UI through the DSH settings page (General section).

安装方式

通过 npm 安装

dsh plugin --profile web add @huanlin/dsh-plugin-better-locale

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

从 GitHub 安装

dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-better-locale

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
测试日期