Text Translator Tool
Description
Translate text between languages using free translation services with support for auto-detection, batch processing, and file translation.
Trigger
- •
/translatecommand - •User needs text translation
- •User wants to localize content
Usage
bash
# Translate text python scripts/text_translator.py "Hello world" --to zh # Auto-detect source language python scripts/text_translator.py "Bonjour" --to en # Translate file python scripts/text_translator.py --file document.txt --to es --output document_es.txt # Batch translate python scripts/text_translator.py --file strings.json --to ja --format json
Tags
translate, language, i18n, localization, text
Compatibility
- •Codex: ✅
- •Claude Code: ✅