用途:在多种语言之间翻译文本,适合内容本地化与日常翻译需求。
主要能力:支持自动检测源语言、指定目标语言、批量翻译以及文件翻译;可通过 /translate 命令触发,也可直接运行脚本。
使用方式:翻译文本可用 python scripts/text_translator.py "Hello world" --to zh;自动检测源语言可用 python scripts/text_translator.py "Bonjour" --to en;翻译文件可用 python scripts/text_translator.py --file document.txt --to es --output document_es.txt;批量翻译 JSON 可用 python scripts/text_translator.py --file strings.json --to ja --format json。
兼容环境:Codex 与 Claude Code 均支持。
限制:资料未提供支持的免费翻译服务具体名称、可用语言对数量、调用频率或字数限制、收费情况以及输出准确率等信息,使用前需自行确认。