transtools Skill

SkillDev tools

Translates 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 skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

transtools SkillStart free

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_langstr是-目标语言
contentstr是-待翻译的内容
from_langstr否'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