# Text Translator

> 使用免费翻译API在语言之间翻译文本，支持批量处理和文件翻译。

使用免费翻译API在语言之间翻译文本，支持批量处理和文件翻译。

- Page: https://ss33.ai/skills/aidotnet/text-translator-65153227995
- Publisher: aidotnet
- Category: [Software Development](https://ss33.ai/skills/category/software-development-t44z8z) › [Developer docs & tooling](https://ss33.ai/skills/category/software-development-t44z8z/developer-docs-and-tooling-nich6w)
- License: MIT
- Source: https://github.com/aidotnet/moyucode/blob/9fa0412ff1d57ca3216835637773ac975cae1009/skills/tools/text-translator/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/aidotnet/text-translator-65153227995

# Text Translator Tool

## Description
Translate text between languages using free translation services with support for auto-detection, batch processing, and file translation.

## Trigger
- `/translate` command
- 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: ✅
