dsh-ru-ui — Russian language pack for DeepSeek Harness
A plugin for DeepSeek Harness (DSH) that adds a Russian interface language to
the Web GUI and ships Russian dictionaries for every client-side locale namespace
of the app. It does not patch the application: it uses the public Client locale
service (addLanguage + register), so it keeps working across restarts and is
easy to remove.
- Interface languages shipped with DSH: English and Chinese. This pack adds
ru. - Coverage: 62 namespaces, 2888 strings, matched key-for-key against the
English dictionaries of DSH
0.2.1-rc.2. - Anything untranslated falls back to English (
ru → en), never to a raw key.
Русская версия: README.ru.md.
What gets translated
| Area | Namespaces | Strings |
|---|---|---|
| Chat: composer, attachments, queue, tool cards, terminal | conversation, chat |
564 |
| Trajectory and session inspector | trajectory, session-inspector |
244 |
| Workspaces and sessions | workspace |
119 |
| Plugins: market, manager, built-ins | pluginManager, pluginMarket, settings.pluginInventory, settings.plugins |
341 |
| Model settings and account | settings.models, settings.account, settings.agentPreset |
275 |
| Automation and reminders | schedule.manager, schedule.catalog |
258 |
| Voice input and reasoning translation | voice-input, cotTranslation |
141 |
| Other settings | settings, settings.theme, settings.permission, settings.subagent, settings.webSearch, settings.shell, settings.agentLoop, settings.sessionLog, settings.locale |
198 |
| Side panels | sidebar* (11 namespaces) |
174 |
| Shared labels, commands, questions, access | common, command, question, approval, permission.access, slash.menu, model, plan, goal |
171 |
| Tools, subagents, jobs, agent team | deliverables, subagent, job, agent-team, workflowRun, cordis, skill, reference, feedback, open-in-app, shortcuts, documentMarkdown, documentHtml, secretMask, session-log-download, deepseek-model-label-1017 |
293 |
Install
Requires DSH 0.2.1-rc.2 or a build with the same locale namespaces.
1. From the plugin manager (desktop app or dsh web)
- Open Plugins → Add plugin.
- Paste the repository address:
https://github.com/GilGameshx1/dsh-ru-ui - Install and enable it.
2. From the command line
dsh plugin add github:GilGameshx1/dsh-ru-ui
3. From a local clone
git clone https://github.com/GilGameshx1/dsh-ru-ui
dsh plugin add /path/to/dsh-ru-ui
or in the plugin manager choose Install a third-party plugin → local directory and point it at the clone.
Turn it on
After installation the language appears in Settings → General → Language. Pick Русский. If the browser reports Russian as its preferred language, the interface switches by itself; the choice is stored for the DSH profile.
How it works
client.jsregisters{ id: 'ru', label: 'Русский', fallback: 'en' }throughctx.locale.addLanguage.- For every namespace it calls
ctx.locale.register(ns, 'ru', dict). - Lookup walks
ru → en, so a missing key shows the English text instead of a raw key. Partial translations are therefore safe. - The Host half (
index.js) is an empty plugin: a bundle row needs a module, and all the work happens in the browser.
No files of the DSH installation are modified; uninstalling the plugin removes the language.
What stays English
Strings that come from the Host half and never enter the client dictionaries: tool names and descriptions, tool and model output, slash-command names, parts of system messages and package metadata. Those cannot be translated by a plugin.
Repository layout
dict/ one JSON file per namespace: key -> Russian text
client.js built bundle (generated; do not edit by hand)
build.py rebuilds client.js from dict/
check.py compares dict/ with an English catalog dump
verify.mjs loads client.js against a stub locale service and checks registrations
index.js Host half (no-op)
cordis.patch.yml bundle patch: one plugin row
locale/ plugin metadata (title/description) for en, ru, zh
icon.svg plugin icon
Rebuilding
python build.py # regenerates client.js
node verify.mjs # 62 namespaces / 2888 keys, locale and fallback checks
check.py needs a catalog.json dump of the English dictionaries
(namespace -> { "en": {...}, "zh": {...} }) extracted from an installed DSH
build; without it the script only prints sizes.
Adding a new DSH build
- Extract the English dictionaries of the new build into
catalog.json. - Run
python check.pyto list new or removed keys. - Translate the new keys into the matching
dict/<namespace>.json. - Run
python build.pyandnode verify.mjs.
Compatibility
The dictionaries are keyed by the namespace and key names used by DSH
0.2.1-rc.2. A newer DSH that adds keys will simply show those keys in English
until they are translated here. A future build that renames a namespace would
leave that namespace in English as well.
License
MIT — see LICENSE. The translated strings originate from DeepSeek Harness, which is distributed under the MIT license; this repository only adds translations for them.
No comments yet. Be the first to write one.