dsh-locale-fr: French UI Localization Pack for DeepSeek Harness

Preface

The DeepSeek Harness (DSH) interface defaults to English. For developers accustomed to French, this creates a language barrier when reading and debugging. The dsh-locale-fr plugin aims to solve this problem by injecting a French dictionary directly into DSH’s internal language service through the plugin protocol, providing complete French localization support for the interface.

What Is This

This is a plugin maintained by BlackAngel242 and is part of the DeepSeek Harness ecosystem. Its core function is to set the Harness interface language to French, covering mainstream functional modules.

Core Features

  • Language Option: Adds a Français option to the language selector under Settings → General.
  • Translation Coverage: Translates 58 namespaces and 2614 UI keys.
  • Automatic Fallback: For keys that have not yet been translated, automatically falls back to English, ensuring the interface remains functional.

Installation and Activation

Install the plugin using DSH’s plugin manager.

dsh plugin --profile web add dsh-locale-fr

After installation, follow these steps to enable the French interface:

  1. Reload the page (or restart the desktop application).
  2. Navigate to Settings → General → Language.
  3. Select Français from the language list.

Typical Usage

Once enabled, the plugin takes over the primary UI translation of Harness. Users can perform session management, configure model providers, view logs, and more in a French environment.

Use Cases and Notes

  • Use Cases: Users who need to develop or debug DSH in a French environment.
  • Known Limitations:
    • Text Outside Slot-render: Text captured outside slot-render (such as descriptions for the /model command) retains the language it was registered in and is not automatically translated. This is a limitation of Harness’s language service itself.
    • New Key Updates: The plugin is generated based on the English dictionary packaged with Harness. If Harness releases a new version with additional strings, these new keys will appear in English until the plugin is regenerated.
    • Module Mechanism: client.js is a web-specific module loaded via window.__ModuleLoader__; index.js is an npm entry point designed to be a no-op.

Brief Conclusion

This plugin operates purely through the plugin protocol and does not modify Harness source code. To explore more plugins or learn about the source code, please refer to the GitHub repository.

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

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

Xiaoye