DSH HUB
HomePlugin StorePlugin PacksCommunityRankingsResourcesPublish Guide
Plugin source
Back to catalog

zznobzz /

zznobzz/dsh-soul-ru-lang

Verified

Russian UI language pack (client overlay) for the dsh-soul personalization plugin — 401 locale keys under the 'soul' namespace

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

dsh-soul-ru-lang

npm license

Russian UI language pack for the dsh-soul personalization plugin (DeepSeek Harness). It registers a ru dictionary for the plugin's soul locale namespace — 401 keys, the full settings UI, session tab, workspace pages, overview panel and toasts.

Why a separate package

dsh-soul ships zh and en dictionaries. This pack keeps Russian UI text out of the vendor diff: nothing in dsh-soul is patched or recompiled — the plugin's own locale service is extended at runtime through the Harness client locale service (register('soul', 'ru', …)).

Consequences worth knowing:

  • The pack is a pure client overlay. If dsh-soul ever ships its own soul ru dictionary, this package becomes a no-op: the vendor dictionary wins for keys both provide.
  • Nothing here touches the response language or the prompt. Russian answers are a feature of dsh-soul itself (language: 'ru'); this pack only localizes the UI.

Requirements

  • DeepSeek Harness with a Russian UI locale available (0.2.2-rc.1 or newer; the client locale plugin registers ru alongside ja/es/fr/de/pt).
  • dsh-soul 0.13.0 or newer, enabled in the same profile.

Install

From npm (recommended):

dsh plugin add dsh-soul-ru-lang

From GitHub (same package, tracks main):

dsh plugin add github:zznobzz/dsh-soul-ru-lang

From a local checkout:

dsh plugin add /path/to/dsh-soul-ru-lang

Restart the Harness afterwards (profile changes apply at startup unless HMR is running) and reload the page. The package declares dsh.bundle.patch, so the bundle manager inserts its loader row automatically; no manual profile editing is needed.

Verify it is active

  1. Settings → Interface language → Русский.
  2. Settings → Персонализация — the whole section is Russian (group titles, buttons, hints, toasts). The section itself is labelled «Персонализация».
  3. Chat → /soul — help, show, list, use messages are Russian.

If the section stays English, the locale is not ru or the row is missing:

dsh --profile <profile> --dump-config | grep soul-ru-lang

Updating

The dictionary mirrors the vendor en dictionary key by key. When dsh-soul changes UI text, this pack is updated to match — ping the maintainer on such upstream changes.

Maintenance scripts (run from the repository root):

node scripts/check-keys.mjs [path/to/dsh-soul/client/index.mjs]  # key parity en ↔ ru
node scripts/embed-dict.mjs                                      # rebuild the embedded dictionary

ru.json is the source of truth; client.js carries an embedded copy because the client bundle is loaded as a plain script (no JSON require at runtime).

Publishing (maintainers)

npm releases are produced by GitHub Actions; no manual npm publish is needed. Version 0.1.0 is published: https://www.npmjs.com/package/dsh-soul-ru-lang (staged publish approved).

  1. Add the token once: repository Settings → Secrets and variables → Actions → New repository secret, name NPM_TOKEN, value an npm automation (or granular) token that may publish dsh-soul-ru-lang without a 2FA prompt.

  2. Bump version in package.json, commit, then push a matching tag:

    git tag v0.1.0
    git push origin v0.1.0
    
  3. .github/workflows/publish.yml verifies that the tag matches package.json, prints the tarball contents (npm pack --dry-run) and runs npm publish --provenance --access public with NODE_AUTH_TOKEN from the NPM_TOKEN secret.

Provenance attestation requires the repository to stay public and the workflow to keep id-token: write.

Two failure modes are worth knowing:

  • EOTP (“This operation requires a one-time password”): the NPM_TOKEN secret holds a token that still asks for 2FA. Use an npm Automation token (Access Tokens → Generate New Token → Classic → Automation) or a granular token with 2FA bypass for dsh-soul-ru-lang, then re-run the workflow (Actions → Publish to npm → Run workflow) — no new tag is needed.

  • Publish “succeeds” but the registry shows only 0.0.0-stage with the description “Temporary package placeholder for staged publishing”: npm now stages publishes made with 2FA-bypass tokens. Approve it once with a maintainer account (2FA prompt):

    npm stage approve dsh-soul-ru-lang@0.1.0
    

    or open the package's Publish requests page on npmjs.com and approve there. To avoid the staged flow entirely, configure a Trusted Publisher for this package (npmjs.com → package → Settings → Trusted Publisher → GitHub Actions, repository zznobzz/dsh-soul-ru-lang, workflow publish.yml); then the workflow can publish over OIDC without NPM_TOKEN.

License

MIT — see LICENSE.

—/ 5

No ratings yet

Verified DSH bundle

Commit ce0d1439e6e3

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