dsh-locale-es: DeepSeek Harness Spanish UI Language Pack

Preface

The DeepSeek Harness (DSH) desktop client defaults to an English interface. To switch to Spanish via the settings, one needs to organize the text key-values within the UI plugins into a complete language pack and inject it as a client plugin, rather than modifying app.asar. Maintained by community member Oskarosan, dsh-locale-es is a castellano (es) package designed for this purpose: it covers 2603 keys across 57 namespaces and automatically falls back to English for missing keys, preventing interface errors caused by incomplete translations.

The following sections describe what it is, how to install it, and important notes for usage.

What is this

dsh-locale-es is a client language pack plugin (Category: Client) for DSH. It is maintained by Oskarosan. Source code and documentation are available at the GitHub repository, and the community directory page is at skillhub.cn/plugins/Oskarosan/dsh-locale-es.

It solves the problem of providing a Spanish (label “Español”, language ID es, fallback language en) interface for DSH without modifying the application’s core files. The coverage recorded in the README is 2603/2603 keys (100%) across 57/57 namespaces. The current package.json version is 1.0.1, and the license is MIT.

Core Features

Client-side Injection without Patching the App Package

The plugin is loaded via the DSH Loader as a client plugin: it does not patch app.asar nor does it rewrite other files in the application directory. The generated lib/client.js registers the locale service via window.__ModuleLoader__.load on the browser side, adding the language to ctx.locale and registering dictionaries namespace by namespace.

Automatic Fallback to English for Missing Keys

Any missing keys, or keys added in newer versions of DSH, will automatically fall back to English, ensuring the language pack does not “break” the interface with incomplete translations.

Contract with the DSH Plugin Manifest

The package declares dsh.bundle.patch (pointing to cordis.patch.yml); when loading the bundle, DSH inserts the locale-es plugin row. dsh.client injects @deepseek-ai/dsh-client-locale. The plugin card metadata is derived from meta.title and meta.description in locale/<language>.json, combined with package.json and icon.svg.

Installation and Activation

There are two paths: Plugin Manager (recommended) or manual profile editing.

Method 1: Plugin Manager

In the interface: Sidebar → Plugins → Add plugin, paste the spec. Alternatively, run the following in the terminal (equivalent to the UI):

# If the package is published to npm, install by package name
dsh plugin --profile desktop add dsh-locale-es

# Install directly from GitHub, no npm publication needed
dsh plugin --profile desktop add github:Oskarosan/dsh-locale-es

# Or install from a local directory
dsh plugin --profile desktop add C:\path\to\dsh-locale-es

The manager supports npm package names (with optional versions), github:author/repo, git URLs, .tgz, or local paths. Before installation, it checks if the package declares dsh.bundle; upon completion, it writes to the profile’s dsh.profile.bundles.

Activating the Interface Language: After reloading the interface, select Español under Settings → General → Language.

If “Español” is still not visible in the settings after installation, toggle off and then on the locale-es row in the plugin manager to force a re-resolution of the client bundle.

Method 2: Manual Profile Editing

Add both the dependency and the bundle in ~/.dsh/profiles/<profile>/package.json, for example:

{
  "dependencies": {
    "dsh-locale-es": "link:C:/path/to/dsh-locale-es"
  },
  "dsh": {
    "profile": {
      "bundles": [
        "@deepseek-ai/dsh-base",
        "@deepseek-ai/dsh-web-app",
        "dsh-locale-es"
      ]
    }
  }
}

Execute the following in the profile directory:

pnpm install

Similarly, select Español in the settings.

Typical Usage and Maintainer Workflow

For users, the typical flow is simply: install plugin → reload → select Español in General; no need to modify repository files daily.

For those contributing translations, the reproducible steps provided in the README are:

  1. Edit i18n/es/<namespace>.json (one file per namespace).
  2. Preserve placeholders consistent with i18n/catalog.json (such as {count}, {label}, {toolName}); the compiler will reject translations that drop keys or invent placeholders.
  3. Rebuild and check:
node tools/build-locale-pack.cjs i18n/catalog.json i18n/es . --check
node tools/audit-es.cjs i18n/catalog.json i18n/es

The repository also provides tools like check-portable.cjs and verify-pack.cjs, and runs coverage, audit, and bundle sync checks in CI; maintainers can repeat verification without a running DSH application.

Use Cases and Notes

Who it is for: Users who use the DSH desktop client daily and wish for a Spanish (castellano) interface; as well as contributors willing to maintain or proofread translations namespace by namespace.

Permissions and Security: Like other DSH plugins, client plugins run under the permissions of the current DSH process. Before installation, you should review the source code and the MIT license (as well as NOTICE.md in the repo) yourself to ensure compliance with your environment policies.

Profile Hot Reload: The README notes that if the profile is modified during a DSH session, the hot reload will terminate the current session and open a new conversation (history is not lost, but the current conversation is interrupted); it is recommended to modify profiles outside of DSH, or accept the session interruption.

Safe Mode: The desktop client’s “Disable third-party plugins” restores factory bundles, which will remove this language pack; it must be reinstalled after restoration.

Ecosystem Note: DSH emphasizes “everything is a plugin”; the plugin directory on skillhub.cn is a community site, not officially affiliated with DeepSeek/Hunyuan, and is not an official app store.

Conclusion

dsh-locale-es provides a complete Spanish UI translation via a client plugin and falls back to English for missing keys, making it suitable for DSH users needing an Español interface. Installation can be done via dsh plugin --profile desktop add github:Oskarosan/dsh-locale-es (or the npm package name / local path), followed by selecting Español in the settings.

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

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

Xiaoye