dsh-zh-hant-hk: Adding Hong Kong Traditional Chinese to DeepSeek Harness

Preface

The interface language menu of DeepSeek Harness currently only lists 中文 and English. If you want the web interface to use Traditional Chinese and adjust simplified interface terms to Hong Kong-style wording, you need to handle term differences such as 會話 → 對話 and 設置 → 設定.

dsh-zh-hant-hk is a DeepSeek Harness client plugin maintained by Argonaut790 under the MIT License. It adds 繁體中文 to the Language menu and converts simplified interface terms when the active locale is zh-Hant, without modifying the existing Simplified Chinese and English strings.

Positioning

It adds Hong Kong-style Traditional Chinese interface terms to DeepSeek Harness.

Using it requires no forking of the harness, nor manually rewriting all strings one by one. The plugin does not modify the Simplified Chinese and English strings.

Core Capabilities

  1. Adds 繁體中文 to the Language menu of DeepSeek Harness.
  2. Converts simplified interface terms to Traditional Chinese and applies Hong Kong-style wording when the active locale is zh-Hant.
  3. Rewrites hardcoded English permission labels such as Read Only, Workspace Write, and Full access.
  4. Wraps locale.translate to automatically override plugin strings rendered through the locale service.
  5. Supports other plugins selectively converting hardcoded simplified strings via window.__zhHantHk__.mark(el) or data-zh-hant.
  6. Does not modify the Simplified Chinese and English strings.

code, pre, inputs, and editable content are not rewritten.

Installation and Activation

Install the GitHub repository from any directory:

dsh plugin --profile web add github:Argonaut790/dsh-zh-hant-hk

Install from a local checkout:

dsh plugin --profile web add /home/you/Programming/dsh-zh-hant-hk

After installation, restart or refresh dsh web, then set the interface language to 繁體中文.

If the local checkout already includes lib/, it can be installed directly; after modifying the source, run:

npm test

Uninstall:

dsh plugin --profile web remove dsh-zh-hant-hk

Typical Usage

The common workflow is to install first, then restart or refresh dsh web, and finally select 繁體中文 from the UI language options.

If other plugins hardcode simplified strings in their own UI, you can include the root element in the conversion scope:

window.__zhHantHk__.mark(myRootEl)

Or:

myRootEl.setAttribute('data-zh-hant', '')

Strings rendered through the locale service are automatically overridden; hardcoded strings need to be selected as described above. code, pre, inputs, and editable content are not rewritten.

Applicable Scenarios and Notes

Suitable for:

  • Users of the DeepSeek Harness web interface who want 繁體中文 to appear in the language menu.
  • Those who want simplified interface terms adjusted to Hong Kong-style wording.
  • Maintainers of DSH plugins who need hardcoded simplified strings to selectively convert in line with the zh-Hant locale.

Notes:

  • The official DeepSeek Harness currently only lists 中文 and English; this plugin adds 繁體中文 to that menu.
  • The plugin only affects interface terms when 繁體中文 is active and does not modify the Simplified Chinese and English strings.
  • The plugin runs with the current dsh process permissions. Review the source code and license before installation.
  • The community directory page is an independent site; do not mistake the installation source for an official app store.

Related Links

GitHub:

https://github.com/Argonaut790/dsh-zh-hant-hk

Community directory page:

https://www.skillhub.cn/plugins/Argonaut790/dsh-zh-hant-hk

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

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

Xiaoye