dsh-language-bridge

Per-model working languages: ordered regex rules map model ids to BCP 47 language codes, your prompts are translated into the model's language with DeepSeek Flash before sending and replies are translated back after each turn, with in-place toggles for the original reply and the text actually sent, a system-prompt rule that keeps bridged models in their working language, a warning under the message when translation fails, and no translation or cost when the languages already match.

Overview

Per-model working languages: ordered regex rules map model ids to BCP 47 language codes, your prompts are translated into the model's language with DeepSeek Flash before sending and replies are translated back after each turn, with in-place toggles for the original reply and the text actually sent, a system-prompt rule that keeps bridged models in their working language, a warning under the message when translation fails, and no translation or cost when the languages already match.

Installation

Install from GitHub

dsh plugin --profile web add github:tonyzdev/dsh-language-bridge

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands