Loading...
Loading...
使用免费翻译API在语言之间翻译文本,支持批量处理和文件翻译。
npx skill4agent add aidotnet/moyucode text-translator/translate# 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 jsontranslatelanguagei18nlocalizationtext