ifly-translate

Solid

iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages. Use when the user wants to translate text. Pure Python stdlib, no pip dependencies.

Data & Documents 3,964 stars 1088 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# ifly-translate Translate text using iFlytek's Machine Translation API (机器翻译). Supports 70+ language pairs. ## Setup 1. Create an app at [讯飞控制台](https://console.xfyun.cn) with 机器翻译 service enabled 2. Set environment variables: ```bash export XFYUN_APP_ID="your_app_id" export XFYUN_API_KEY="your_api_key" export XFYUN_API_SECRET="your_api_secret" ``` ## Usage ### Basic translation (Chinese → English by default) ```bash python3 scripts/translate.py "你好世界" ``` ### Specify source and target language ```bash python3 scripts/translate.py -s en -t cn "Hello world" ``` ### Read from stdin ```bash echo "こんにちは" | python3 scripts/translate.py - -s ja -t cn ``` ### Read from file ```bash python3 scripts/translate.py -f document.txt -s cn -t en ``` ### Options | Flag | Short | Description | |------|-------|-------------| | `text` | | Text to translate (use `-` for stdin) | | `--file` | `-f` | Read text from a file | | `--from` | `-s` | Source language code (default: `cn`) | | `--to` | `-t` | Target language code (default: `en`) | | `--verbose` | `-v` | Show source/target language labels | | `--raw` | | Output raw JSON response | ### Common language codes | Code | Language | Code | Language | |------|----------|------|----------| | `cn` | 中文 | `en` | English | | `ja` | 日语 | `ko` | 韩语 | | `fr` | 法语 | `de` | 德语 | | `es` | 西班牙语 | `ru` | 俄语 | | `ar` | 阿拉伯语 | `th` | 泰语 | | `vi` | 越南语 | `pt` | 葡萄牙语 | | `it` | 意大利语 | `tr` | 土耳其语 | Aliases are supported: `zh`→`cn`, ...

Details

Author
openclaw
Repository
openclaw/skills
Created
4 months ago
Last Updated
1 months ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

ifly-translate

iFlytek Machine Translation (机器翻译) — translate text between Chinese, English, Japanese, Korean, French, Spanish, German, Russian, Arabic, Thai, Vietnamese, and many more languages. Use when the user wants to translate text. Pure Python stdlib, no pip dependencies.

179 Updated 1 months ago
iflytek
AI & Automation Solid

translate

Translate English or Japanese tech articles and texts into natural, fluent Chinese. Use this skill when the user wants to translate text to Chinese, asks for Chinese translation, mentions "translate to Chinese", "翻译", provides English/Japanese tech content for translation, or wants any text converted into Chinese. Also trigger when the user pastes text and asks to translate it, or references a file to translate into Chinese.

1,532 Updated 1 months ago
feiskyer
Data & Documents Listed

translate

Accurately and fluently translates source text into another language, supporting any language pair. Default target language is Chinese. Use this skill when the user requests translation of Markdown files, batch document translation, or text content translation. Trigger phrases: translate, 翻译,translate markdown, translate document, Chinese translation, batch translate.

335 Updated today
aiskillstore
AI & Automation Solid

baoyu-translate

Translates articles and documents between languages with three modes - quick (direct), normal (analyze then translate), and refined (analyze, translate, review, polish). Supports custom glossaries and terminology consistency via EXTEND.md. Use when user asks to "translate", "翻译", "精翻", "translate article", "translate to Chinese/English", "改成中文", "改成英文", "convert to Chinese", "localize", "本地化", or needs any document translation. Also triggers for "refined translation", "精细翻译", "proofread translation", "快速翻译", "快翻", "这篇文章翻译一下", or when a URL or file is provided with translation intent.

839 Updated today
guanyang
AI & Automation Featured

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications.

39,227 Updated today
sickn33