Translator

From ericwang915/PythonClaw · View interactive version

Translator is an AI agent skill from the GitHub repository ericwang915/PythonClaw. Translate text between 100+ languages with automatic source detection. Use when: the user asks to translate text, detect a language, or work with multilingual content. NOT for: translating code/documentation in bulk, summarization, or rewriting text in the same language.

How to use this skill

Skill file

Translator

When to Use

When NOT to Use

Setup

Install dependency: pip install deep-translator

Usage/Commands

python {skill_path}/translate.py "text to translate" --to TARGET_LANG [options]

| Option | Description |

|--------|-------------|

| --to LANG | Target language (required): code or name, e.g. zh-CN, french, ja |

| --from LANG | Source language (default: auto) |

| --format json | Output as JSON |

Common codes: en, zh-CN, zh-TW, ja, ko, fr, de, es, pt, ru, ar, hi, it

Full names also work: chinese (simplified), japanese, french, etc.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.