Skip to content
Back to skills

Text Translator

ASecurity

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

  • 85 stars
  • 0 votes
  • 0 copies
  • 14 views
  • Added February 7, 2026
toolspythongobashgitapi

Works with

  • claude code
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add AIDotNet/MoYuCode --skill text-translator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Text Translator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Text Translator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aidotnet-text-translator/badge)](https://www.skillsdirectory.com/skills/aidotnet-text-translator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: text-translator
description: 使用免费翻译API在语言之间翻译文本,支持批量处理和文件翻译。
metadata:
  short-description: 翻译文本
source:
  repository: https://github.com/ssut/py-googletrans
  license: MIT
---

# 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: ✅

Files in this skill

  • SKILL.md1021 B
  • scripts/text_translator.py7.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…