dsh-vi-pack: Adding Vietnamese (vi) to the DSH Web Interface

Preface

The DeepSeek Harness (DSH) Web interface defaults primarily to built-in languages such as English. For users who require a Vietnamese interface, they must either tolerate English text or rely on scattered character modifications, making it difficult to align with the complete locale namespace published by Harness. The dsh-vi-pack (npm package name @dinhdev666/dsh-vi-pack) provided by community maintainer dinhdev666 is a standard DSH language pack plugin: it adds Tiếng Việt (vi) to Settings → General → Language, covers the locales published by Harness using dictionaries, and translates the titles and descriptions of packages in the plugin list.

What is this

dsh-vi-pack is a Vietnamese language pack for the DSH Web GUI, categorized under the “Fun Dress-up” category (interface language and display text) in the community catalog. Repository: https://github.com/dinhdev666/dsh-vi-pack; Catalog Page: https://www.skillhub.cn/plugins/dinhdev666/dsh-vi-pack. The license is MIT (see LICENSE in the repository).

On the browser side, the plugin registers the language via ctx.locale.addLanguage, calls ctx.locale.register(ns, 'vi', dict) by namespace, and overrides plugin names/descriptions via ctx.locale.resolveText; the Host side is a no-op. Untranslated keys will fallback to en, and the interface will not expose raw locale key names.

Core Features

Below are the capabilities documented in the README that are consistent with the current repository status (the “Current Status” section before the truncation point).

  1. Interface Dictionary: 63 namespaces with a total of 2.901 keys, covering the locale structure published by 53 DSH client packages; key order is consistent with the English source files in extract/en/.
  2. Plugin Metadata Translation: 216 plugin titles and 29 package descriptions (for Plugin Manager and Settings → Plugins → Built-in plugins). The Host assembles display text from each package’s locale/en.json; this pack supplements translations in vi-meta/ and overrides resolveText.
  3. Standard Bundle Form: The root package.json declares dsh.bundle pointing to plugin/cordis.patch.yml and exports pointing to plugin/; the runtime bundle includes the auto-generated plugin/client.js (do not modify manually; it is generated by tools/build-client.mjs from vi-packs/ and vi-meta/).
  4. Quality Validation Toolchain: validate-vi.mjs, validate-meta.mjs, audit-vi.mjs, build-client.mjs, and test-client.mjs are used for key alignment, placeholder checks, metadata integrity, and smoke tests (maintainer documentation states that the above validations and builds have passed).

The currently released version in package.json is 1.2.0.

Installation and Activation

The DSH ecosystem emphasizes “everything is a plugin”; the SkillHub Plugin Catalog is a community site and has no official affiliation with DeepSeek / High-Flyer. Please review the repository source code and MIT license yourself before installing; the plugin runs with the permissions of the current DSH process.

Open Plugins → Add plugin in the DSH Web interface and paste the repository address:

https://github.com/dinhdev666/dsh-vi-pack

DSH will execute pnpm add on this address, read the package.json in the repository root (including dsh.bundle and exports), add the bundle to the profile, and activate it. After installation, reload the page (Cmd/Ctrl+R), go to Settings → General → Language, and select Tiếng Việt.

To upgrade to a new version: remove the bundle in the Plugin Manager and reinstall using the address above.

If you only wish to install the bundle directory and avoid pulling the entire repository (including extract/, vi-packs/, tools/, etc.), you can use the spec pointing to plugin/ (from the README):

https://github.com/dinhdev666/dsh-vi-pack#path:/plugin

Pinning Default Language (Optional)

To pin the preference to Vietnamese in the profile’s cordis.patch.yml, the README provides the following example:

- id: locale
  name: "@deepseek-ai/dsh-client-locale"
  config:
    preference: vi

After modification, you need to restart or reload DSH according to your profile method, then verify the language option in the interface.

Typical Usage

For regular users, the complete path involves only two steps:

  1. Add https://github.com/dinhdev666/dsh-vi-pack (or the concise #path:/plugin spec) via the Plugin Manager as described in the previous section.
  2. After reloading the page, select Tiếng Việt in Settings → General → Language; you should see translated titles and descriptions in the Plugin Manager or the built-in plugin list (untranslated parts will still display in English).

For translation maintainers, the daily commands provided in the README (executed in the repository root) include:

node tools/validate-vi.mjs
node tools/validate-meta.mjs
node tools/build-client.mjs
node tools/test-client.mjs

When the upstream DSH updates the English dictionary, you need to run extract-dicts.mjs, prepare-dataset.mjs, and extract-meta.mjs first, then update vi-packs/ and vi-meta/; build-client.mjs will refuse to build if namespaces are missing, keys are incomplete, placeholders are inconsistent, or package name/description translations are missing. You must reload the GUI (Ctrl/Cmd+R) after every rebuild to see the new translations.

Use Cases and Notes

Who it is for: Users who use the DSH Web interface daily and want the interface and plugin list displayed in Vietnamese; maintainers participating in DSH Vietnamese localization who need to align with Harness namespace keys.

Who it is not for or things to note:

  • This pack only adds the vi language and related overrides; it does not change model capabilities or business logic.
  • Installing via the full repository address downloads large directories used for maintenance; for production environments where only runtime is concerned, prioritize #path:/plugin.
  • Package titles/descriptions are matched against the original English strings returned by the Host; if DSH changes English text, you need to re-run extract-meta.mjs and update vi-meta/.
  • The community catalog indicates 0 stars (as of the writing clues); please evaluate the maintenance activity and whether version 1.2.0 meets your DSH version requirements before selecting it.

Conclusion

dsh-vi-pack turns Vietnamese support for the DSH Web interface into an installable, official-form bundle: complete locales, plugin list metadata, English fallback, and validation pipelines are all within the same repository. To install or contribute translations, you can enter from the catalog page https://www.skillhub.cn/plugins/dinhdev666/dsh-vi-pack or open GitHub directly: https://github.com/dinhdev666/dsh-vi-pack.

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

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

Xiaoye