Skip to content
dsh.fish
Bundle

dsh-translate-pro

专业翻译:支持术语一致、专业领域选择与语气调整,附带术语对照表

Source
jetheaven
stars
1 stars
License
MIT
Updated
Updated yesterday

Readme

# dsh-translate-pro

> DeepSeek Harness 专业翻译插件 — 多领域、多语言、语气可控的高质量翻译

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
[![DSH Plugin](https://img.shields.io/badge/DSH-Plugin-blue)](https://github.com/deepseek-ai/deepseek-harness)

## ✨ 功能

- **6大专业领域**:
  - 💻 tech(技术):标准术语,专有名词保留英文
  - ⚖️ legal(法律):术语精确,句式严谨无歧义
  - 🏥 medical(医疗):官方标准医学译名
  - 💰 finance(金融):标准金融术语,数字准确
  - 📢 marketing(营销):注重感染力和本地化
  - 📝 general(通用):自然流畅
- **三种语气**:formal(正式)、neutral(中性)、casual(轻松)
- **多语言互译**:支持中、英、日、韩等主流语言
- **翻译说明**:提供术语选择理由和文化背景注释

## 📦 安装

```bash
dsh plugin add github:jetheaven/dsh-translate-pro
```

## 🚀 使用

```
请把这句话翻译成英文(商务领域):
"鉴于贵司在合同期限内未能履行交付义务,我方正式提出终止合作并要求退还预付款。"
```

### 工具参数

| 参数 | 类型 | 必填 | 说明 |
|------|------|------|------|
| `text` | string | ✅ | 要翻译的文本 |
| `target_language` | string | ✅ | 目标语言(如:英语、日语) |
| `source_language` | string | ❌ | 源语言(不填则自动检测) |
| `domain` | string | ❌ | 领域:tech / legal / medical / finance / marketing / general(默认) |
| `tone` | string | ❌ | 语气:formal / neutral(默认)/ casual |

## 🛠 开发

```bash
tsc
dsh plugin add /path/to/dsh-translate-pro
```

## 💬 社区

DSH 社区插件发布帖:[deepseek-harness/discussions/1381](https://github.com/deepseek-ai/deepseek-harness/discussions/1381)

## 📄 License

MIT

Install

dsh plugin --profile web add github:jetheaven/dsh-translate-pro

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source