DeepSeek Harness 插件

dsh-espanol

Spanish (es) locale for the DeepSeek Harness web GUI: adds Español to the language selector (opt-in, never forced).(英文原文)

跳到安装方式

来源信息

GitHub 仓库
mscnegocio-del/dsh-espanol
最近更新
2026年8月20日
分类
界面增强
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-21

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/mscnegocio-del/dsh-espanol
插件名:dsh-espanol
作者:mscnegocio-del

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

dsh-espanol

Spanish (es) locale for the DeepSeek Harness web GUI.

This is a community plugin: it registers Spanish dictionaries for the 29 UI namespaces and adds Español to the language selector. It is opt-in — it never forces Spanish on anyone. A user whose browser asks for Spanish (and who has not stored an English/Chinese preference) starts on Español automatically; everyone else keeps the language they had.

  • Plugin (bundle): dsh-espanol
  • Topic: dsh-plugin
  • Scope: 29 namespaces, 718 strings (src/dictionaries.json)

Install

DeepSeek Harness ships plugin distribution through installable profile bundles (dsh plugin --profile <name> add <package-or-git-spec>). This package is both the plugin and its bundle: installing it mounts the espanol-ui row into the web composition.

From npm

dsh plugin --profile web add dsh-espanol

From Git (no npm publish needed)

dsh plugin --profile web add github:<your-user>/dsh-espanol#v0.1.0

> Which profile? The web GUI is served by the web profile (dsh web is dsh --profile web). Installing into default (the shared base template) works but does not mount the plugin into the running UI — install into web (or the profile your dsh web actually uses). Verify with dsh plugin --profile web list.

Restart the web session (or reload the page) and open Settings → Language: you will see 中文 / English / Español — the interface was 中文 first and English second; Español is appended.

> Profile installation requires pnpm on the host PATH (the dsh plugin command is a pnpm forwarder).

How it behaves

  • Registers the es dictionary for every namespace the shipped UI already localizes (common, conversation, workspace, cordis, settings.*, subagent, trajectory, workflowRun, job, goal, plan, feedback, question, permission.access, skill, sidebar, deliverables, slash.menu, command, session-log-download, model, settings.theme, directory-browser, …).
  • Never changes the active language on mount: English and Chinese users are untouched. Only a browser whose primary language is Spanish — with no stored zh/en preference — auto-selects Español, mirroring the built-in browser detection.
  • Switching to English or Chinese persists exactly as before (the plugin delegates those writes to the built-in runtime).
  • Placeholders ({count}, {name}, {command}, {labels}, …) are preserved; technical terms stay untranslated (token, TTFT, LLM, API, Cmd/Ctrl, plugin, Cordis, HMR).

Known limitations and deferred work

1. The Spanish preference is not persisted across restarts (v1). The host locale settings schema only accepts preference ∈ ['zh', 'en'], so a client-only plugin cannot store es. The workaround shipped here is browser auto-detection: a Spanish-speaking browser lands on Español on every boot without persisting anything. Making the choice durable requires a host half that extends the locale settings schema — tracked as deferred work. 2. Two string groups remain in English by design: command descriptions in the / menu and the permission-preset names (Read Only, Workspace Write, Full access) come from host composition data, not client locale dictionaries, so this plugin cannot translate them. Editing those requires changing the host cordis.yml configuration.

Development

The artifact is generated, not hand-written:

node scripts/build-client.mjs   # reads src/dictionaries.json -> writes lib/client.js
  • src/dictionaries.json — the editable Spanish dictionaries (one object per namespace).
  • lib/client.js — the browser bundle in the Loader shape (window.__ModuleLoader__.load({ id: 'dsh-espanol', factory })), committed so Git/npm installs need no build step.

Key sets mirror the current upstream zh dictionaries; a key the active runtime does not have is ignored, and a key it has but this plugin does not falls back to the English text.

License

MIT — see [LICENSE](LICENSE).