DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Locale Fr — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
L

dsh-locale-fr

Locale Fr

DeepSeek Harness (dsh) Web UI 的法语语言包。包含约 1160 条 UI 字符串,并为硬编码标签的社区插件提供展示层回退机制。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:GaaaorkOrga/dsh-locale-fr#a79ad66fbabae588b27467dd925bef45770bccd2
README兼容性版本

兼容性与来源证明

Locale Fr 以 dsh-locale-fr 发布,当前版本为 1.0.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/4

版本

1.0.0stable
2026/9/4

相关插件

正在加载相关插件…

最新版
1.0.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/4
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Client Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。Pet@linxin666/dsh-pet适用于 dsh Web GUI 的多宠物伴侣插件:由注册表驱动的浮动宠物,可响应模型活动,支持为每只宠物命名、抚摸/喂食互动以及亲密度评分

README

dsh-locale-fr — French for the DeepSeek Harness web UI

A language pack for DeepSeek Harness (dsh). It puts the browser UI in French: sidebar, composer, command menu, execution trail, settings and every section of them — 1163 strings across 33 namespaces.

It ships a second, separable layer that translates two community plugins which hard-code their Chinese labels (see Third-party layer).

Screenshots and status: this pack is used daily against @deepseek-ai/dsh 0.1.1-rc.2 and is designed to keep working on 0.1.2+.

Why this exists

dsh ships zh and en only. That is a shipping choice, not an architectural limit: @deepseek-ai/dsh-client-locale exposes a real extension point.

  • dsh 0.1.2-rc.1 and later — ctx.locale.addLanguage({ id, label, fallback }) accepts any BCP 47-ish tag whose fallback chain terminates at en. The pack registers fr, and Français shows up in Settings → General → Language with no UI change at all. The choice persists in ~/.dsh/settings.yaml as locale.preference: fr.
  • dsh 0.1.1-rc.2 and earlier — the catalog is frozen to zh/en and setLocale("fr") throws. The pack then patches the single function that reads a string, lookup(namespace, key), to consult French first. Same result, one caveat: French is always active, since there is no catalog entry to switch away from. Remove the plugin to get English back.

The pack detects which case it is in. Nothing to configure.

An untranslated key always falls back to English, never to Chinese.

Install

# from a checkout
dsh plugin --profile web add "link:/path/to/dsh-locale-fr"

# or straight from git
dsh plugin --profile web add "github:GaaaorkOrga/dsh-locale-fr"

Web profile only — it is a browser-side plugin, and it mounts itself through its own cordis.patch.yml, so headless and tui profiles never reference it and start without it.

On dsh 0.1.2+, pick Français in Settings → General → Language. Or set it directly:

# ~/.dsh/settings.yaml
locale:
  preference: fr

No file under node_modules is ever modified. A dsh update cannot wipe the translation.

How it is built

dictionaries/fr.json is the single source of truth. lib/client.js is generated from it — never edit the generated file:

python3 tools/build-client.py

Adding or fixing a string

Edit dictionaries/fr.json, rebuild, reload the page. Keys mirror the namespaces dsh registers (conversation, chat, trajectory, settings.models, …).

Placeholders in braces — {count}, {toolName}, {command} — are part of the contract and must be copied verbatim, spelling included.

Refreshing after a dsh upgrade

A new dsh release adds strings. They show in English until you harvest and translate them:

# 1. Harvest the English dictionaries from the dsh you actually RUN
python3 tools/harvest-dsh-dictionaries.py \
  ~/.npm/_npx/<hash>/node_modules/@deepseek-ai  english.json

# 2. Diff against dictionaries/fr.json, translate the delta however you like,
#    merge it back into dictionaries/fr.json
# 3. Rebuild
python3 tools/build-client.py

Harvest from the version you run, not from whatever happens to sit in a cache — namespaces and keys move between releases. That mistake cost a debugging round here.

Porting to another language

Nothing in the machinery is French-specific:

  1. Copy dictionaries/fr.json to dictionaries/<lang>.json and translate the values.
  2. In tools/build-client.py, change LANGUAGE (id, label in its own language, fallback) and the "fr" passed to locale.register.
  3. Rebuild, install, done.

Pull requests adding a language are welcome — say so in the issue first so we can agree on whether it lives here or in a sibling package.

Third-party layer

@welsione/dsh-model-router (0.0.8) and dsh-model-selector (0.5.0) never call ctx.locale: every label is a string literal. No language pack, in any language, can reach them — it is an integration gap, not a translation gap. The router's whole settings page stays Chinese, and the model chip's label is visible on every screen.

dictionaries/third-party-fr.json holds 575 Chinese fragments and their French, applied by a MutationObserver on what is displayed. Fragments, not sentences: those plugins assemble their labels at runtime.

Guard rails:

  • nothing outside ideographs is touched;
  • never inside an input, a code block or the conversation transcript;
  • only fragments known to those two plugins are replaced, so arbitrary text — including Chinese a user pasted — is left alone by construction;
  • the French produced holds no ideograph, so the observer converges;
  • only mutated nodes are re-swept, batched per animation frame. A full-document walk on every frame was measured against 720 mutations in 2 s while an answer streams in.

This layer is a stopgap. Upstream requests are filed — welsione/dsh-model-router#1, DeepVite/dsh-model-selector#1 — and it should be deleted as soon as either lands. To disable it now, empty the file:

echo '{}' > dictionaries/third-party-fr.json && python3 tools/build-client.py

To regenerate it for a newer plugin version:

python3 tools/harvest-hardcoded-cjk.py \
  ~/.dsh/profiles/web/node_modules/@welsione/dsh-model-router/lib/client.js \
  ~/.dsh/profiles/web/node_modules/dsh-model-selector/lib/client/index.js > runs.json

Known gaps

Out of reach of any language pack, because they do not go through the locale registry:

  • Slash-command descriptions (/compact, /export, …) — served by the host.
  • Access-mode names (Read Only / Workspace Write / Full access) — rendered from host identifiers.

A word about dsh versions

latest moved from 0.1.1-rc.2 to 0.1.2-rc.1 on 2026-09-04. That release drops settingsNamespace and installSettingsSection from @deepseek-ai/dsh-settings, which dsh-model-selector and @welsione/dsh-model-router still import. The plugin loader aggregates the failures and dsh refuses to start — it does not merely skip the two plugins. Unrelated to this pack, but you will meet it if you run those plugins; pin your dsh version until they catch up.

Contributing

Issues and pull requests welcome — translation fixes, other languages, or taking over maintenance. Code comments are in English; the dictionaries are plain JSON, no build chain beyond Python 3.

License

MIT — see LICENSE.


En français

Ce paquet met l'interface web de DeepSeek Harness en français : 1163 étiquettes réparties en 33 familles de textes. dsh ne livre que le chinois et l'anglais, mais son registre de langues prévoit officiellement des langues supplémentaires — ce paquet s'y branche, sans modifier un seul fichier livré par l'éditeur.

  • Installation : dsh plugin --profile web add "github:GaaaorkOrga/dsh-locale-fr", puis choisir Français dans Réglages → Général → Langue (dsh 0.1.2+). Sur une version antérieure, le français s'applique tout seul.
  • Corriger un mot : éditer dictionaries/fr.json, relancer python3 tools/build-client.py, recharger la page. lib/client.js est engendré — ne jamais l'éditer à la main.
  • Une étiquette non traduite retombe en anglais, jamais en chinois.
  • Une seconde couche traduit l'affichage de deux modules communautaires qui écrivent leurs libellés chinois en dur, hors du système de langues. Elle est provisoire : deux demandes ont été déposées auprès de leurs auteurs.

Contributions bienvenues, y compris pour d'autres langues ou pour reprendre la maintenance.