dsh-ko-locale: DeepSeek Harness Korean Language Pack

Foreword

DeepSeek Harness (DSH) adopts an “everything is a plugin” philosophy, aiming to extend functionality through plugins. For developers who prefer a Korean interface, the default English interface may present a language barrier. The dsh-ko-locale plugin solves this problem by providing full Korean localization support for the DSH desktop and Web GUIs.

Plugin Introduction

dsh-ko-locale is a client plugin maintained by ara-hwang under the MIT License. It is a language pack that adds the ko language code to the locale directory and provides Korean translations for registered namespaces.

Core Features

  • Full Coverage: Supports 56 namespaces covering 2,412 strings across major interface areas such as chat, workspace, sidebar, and settings.
  • Language Selection: A Korean option appears in “Settings → General → Language”, alongside English and Chinese.
  • Auto-Adaptation: On machines with a Korean system locale, Korean is automatically selected on first launch; however, manually selected language settings always take precedence.
  • Per-Key Fallback: If a string is not included in the language pack (e.g., terms added via DSH updates or text added by third-party plugins), the system automatically falls back to the built-in English dictionary rather than displaying the raw key name.

Installation and Activation

The installation command installs dependencies and selects the corresponding bundle simultaneously:

  • Desktop Client:
    dsh plugin --profile desktop add dsh-ko-locale
  • Web Interface:
    dsh plugin --profile web add dsh-ko-locale

Refresh the GUI after installation to activate (usually Ctrl+R for the desktop client).

If you do not have npm access, you can install directly via the repository URL:

dsh plugin --profile desktop add github:ara-hwang/dsh-ko-locale

Note: Subsequent modifications to the package require a complete application restart, as the host process maintains the generated modules.

How It Works

The plugin works through two main parts:
1. Language Definition: Registers the language by calling ctx.locale.addLanguage({ id: 'ko', label: '한국어', fallback: 'en' }).
2. Dictionary Stacking: Installs a stacking layer on LocaleRuntime.prototype.lookup to override the default translation lookup logic.

The plugin includes a cordis.patch.yml configuration to load the browser-side bundle.

Verification and Testing

The repository provides a verification script to confirm the plugin is working correctly:

node tools/smoke-test.mjs

This script validates 28 behaviors, including catalog registration, Korean activation, explicit selection, per-key fallback, and restoration after plugin uninstallation.

To confirm if the bundle is served correctly on the Web:

node tools/probe-bundle-route.mjs

Notes

  • Restart Requirement: You must completely restart the application to see changes after installing or updating the plugin.
  • Fallback Mechanism: Strings not included in the language pack will not crash the interface; instead, they will display in English.
  • Priority: If a plugin carries its own ko dictionary, it will override the stacking effect of dsh-ko-locale.
  • License: The plugin is licensed under the MIT License.

Conclusion

dsh-ko-locale is a lightweight plugin that provides Korean support for DeepSeek Harness. Through dictionary stacking technology, it provides users with a complete Korean interface experience while maintaining the system fallback mechanism.

Repository: https://github.com/ara-hwang/dsh-ko-locale

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

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

Xiaoye