transtools Skill
SkillDev toolsTranslates content from one language to another. Use when the user mentions translation, Chinese-English translation, multilingual translation, or automatic translation.
Use transtools Skill in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add transtools Skill and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the transtools Skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; Ahel provides instructions and does not run this skill.
No other account needed.
Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by coderwanfeng/python-office in skills/tools/transtools/SKILL.md and read by Ahel’s review.
将内容从一种语言翻译为另一种语言
功能描述
使用翻译引擎将内容从源语言翻译为目标语言。
所属分类
office/skills/tools/transtools/
调用方式
from skills.tools import transtools
result = transtools(
to_lang='en',
content='你好世界',
from_lang='zh'
)
print(result)
参数说明
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
to_lang | str | 是 | - | 目标语言 |
content | str | 是 | - | 待翻译的内容 |
from_lang | str | 否 | 'zh' | 源语言(默认中文) |
返回值
str:翻译后的结果
使用示例
from skills.tools import transtools
result = transtools(to_lang='en', content='你好,世界!')
print(result) # Hello, world!
原始函数
office.api.tools.transtools
Signals
- GitHub stars
- 1k
- Forks
- 303
- Last commit
- Aug 2026
Advanced
- Item type
- skill
- Key
transtools- Source
- github.com/coderwanfeng/python-office
github.com/coderwanfeng/python-office