dsh-locale-pack: DeepSeek Harness Desktop 29-Language Localization Pack

Introduction

DeepSeek Harness is a desktop application designed for programming tasks, supporting file editing, terminal command execution, and agent collaboration. By default, the application interface is available only in English and Simplified Chinese. For developers who prefer interacting in other languages, this limitation incurs additional reading costs. The dsh-locale-pack plugin bridges this gap by introducing multilingual dictionaries, enabling the desktop interface to support 29 languages.

Plugin Overview

This is a localization plugin (locale pack) for the DeepSeek Harness desktop client.
* Maintainer: sayho-pm
* License: MIT
* Core Value: Registers 29 languages, provides complete dictionaries, and ensures interface readability by falling back to English for untranslated content.

Core Capabilities

The plugin provides the following specific capabilities:
1. Language Registration: Registers 29 languages in the language selector.
2. Dictionary Distribution: Provides complete translation dictionaries for each language.
3. Fallback Mechanism: Automatically falls back to English for untranslated strings.
4. Subset Building: Supports building only the required language subsets to reduce package size.
5. Quality Assurance: Provides tools for translation quality checks.
6. Injection Support: Automatically injects the @deepseek-ai/dsh-client-locale library.

Installation and Activation

Before using this plugin, ensure that DeepSeek Harness desktop is installed. The installation steps are as follows:

Clone and Register

  1. Clone the repository to your local machine:
    git clone https://github.com/sayho-pm/dsh-locale-pack.git
    cd dsh-locale-pack
  1. Register the current directory as a plugin link for the desktop client:
    dsh plugin --profile desktop add link:$(pwd)

For Windows Users

If using PowerShell, the command is:

dsh plugin --profile desktop add link:(Get-Location).Path

Enable Language

After registration is complete, open Settings -> Language and select the target language from the list.

Typical Usage

The default installation includes all 29 languages. If you need to control package size or test specific languages only, perform the following operations:

Build Language Subsets

Building only Korean and Japanese generates a package of approximately 320 KB, compared to the 4.2 MB of the full package:

node tools/build-client.mjs --langs ko,ja

Run Translation

Translation tasks run in a separate process and do not send session content to the model. Run the translation workflow:

python3 tools/translate_worker.py --all

Edit Strings

After modifying dictionary files in locale/<language>/*.json, you must rebuild the client:

node tools/build-client.mjs

When modifying, ensure that the spelling and order of placeholders such as {name} remain unchanged; otherwise, runtime errors may occur.

Notes

  • Terminology Preservation: Product names (e.g., DeepSeek Harness) and protocol names (e.g., MCP, JSON) remain in English and are not translated.
  • Interface Scope: The menu bar, right-click context menu, and update dialogs are desktop Shell components and are not covered by this plugin.
  • Font Handling: The Simplified Chinese font stack prioritizes Simplified glyphs. Japanese, Traditional Chinese (Taiwan/Hong Kong) maintain their respective glyphs; the plugin corrects the font stack via CSS.
  • RTL Layout: Arabic, Hebrew, and Persian RTL layouts are handled natively by DeepSeek Harness; the plugin only provides dictionaries.
  • Version Compatibility: The dictionaries are built based on DeepSeek Harness 0.2.0-rc.2.

Summary

dsh-locale-pack addresses the lack of multilingual support in DeepSeek Harness desktop by providing complete dictionaries for 29 languages and automated build tools. Developers can install the full package or build language subsets according to their needs and maintain translation quality using built-in tools.

  • GitHub: https://github.com/sayho-pm/dsh-locale-pack
  • Directory Page: https://www.skillhub.cn/plugins/sayho-pm/dsh-locale-pack
羽毛球分组比赛记分
小程序二维码

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

Xiaoye