DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

Astemiir /

Astemiir/dsh-client-locale-ru

Verified

Russian localization plugin for the DeepSeek Harness (dsh) web UI - adds the ru language (63 namespaces, 3119 strings)

★ 1 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
View on GitHub
READMESource: main@b3d47354

dsh-client-locale-ru

Community Russian localization for the DeepSeek Harness (dsh) web UI. It registers the ru language through the public locale API — locale.addLanguage() + locale.register() — so Русский appears in the language picker next to English and 中文.

Coverage: 63 namespaces, 3119 strings (ru-dicts.json).

English | 中文 | Русский

Install

The plugin is a dsh bundle: it declares dsh.bundle.patch (the loader patch that inserts the locale-ru row) and dsh.client (the browser module). Install it into a profile:

# from a local checkout of this repository
dsh plugin --profile web add /path/to/dsh-client-locale-ru
# or from npm
dsh plugin --profile web add dsh-client-locale-ru

dsh desktop (the Electron app) manages its own profile and has its own CLI; install it the same way with that CLI, then restart the app. In the Web UI the equivalent operation is plugin_manager → install_bundle with this directory as the target.

After installing, restart the client (or reload the page) and pick Русский in Settings → language.

How it works

client.js is a browser module:

window.__ModuleLoader__.load({
  id: 'dsh-client-locale-ru',
  factory(require) {
    const RU_DICTS = { /* namespace -> key -> Russian text */ };
    return {
      inject: ['locale'],
      apply(ctx) {
        ctx.locale.addLanguage({ id: 'ru', label: 'Русский', fallback: 'en' });
        for (const [ns, dict] of Object.entries(RU_DICTS)) ctx.locale.register(ns, 'ru', dict);
      },
    };
  },
});

The dictionary is embedded as a literal because the browser module table cannot read files from disk.

Editing the translation

  1. Edit ru-dicts.json (namespace → key → Russian text).
  2. Regenerate the browser module: node make-client.js (or npm run build).
  3. Restart the client.

ru-dicts.json is { "<namespace>": { "<key>": "<text>" } }, where the namespace matches the one a client plugin registers (const NS = "…" or locale.register(<var>, …)).

Status

Any key missing from the dictionary falls back to English, so partial coverage degrades gracefully. The translation was produced from the English sources of dsh 0.2.0-rc.2, using the Chinese strings as a hint where English is ambiguous.

License

MIT — see LICENSE. The Russian dictionaries are a community translation of strings shipped with DeepSeek Harness (MIT, © DeepSeek).

—/ 5

No ratings yet

Verified DSH bundle

Commit b3d47354d240

Community comments

No comments yet. Be the first to write one.

DSH HUB

A community index for DSH plugins. Not an official GitHub or DeepSeek AI product.

CommunityResourcesAPIAbout