What can you do with it?
The/translation
command enables you to translate text, audio files, and documents into different languages using AI-powered translation. You can translate plain text, transcribe and translate audio recordings, convert PDF documents to other languages, and maintain formatting while translating content across multiple language pairs.
How to use it?
Basic Command Structure
Parameters
Required:-
content
- The text, file, or audio to translate -
target-language
- The language to translate into (e.g., Spanish, French, Japanese)
-
source-language
- The original language (auto-detected if not specified) -
format
- Output format: json, plaintext, markdown, or html (defaults to json) -
file
- URL or reference to a file to translate (PDF, text, or audio)
Response Format
The command returns:Examples
Basic Usage
Advanced Usage
Specific Use Case
Notes
Supports text files (.txt), PDF (.pdf), WAV (.wav), and MP3 (.mp3) formats. Major languages supported include Arabic, Bengali, Chinese, English, French, German, Hindi, Italian, Japanese, Korean, Portuguese, Russian, and Spanish. Additional support for over 100 languages including less common ones like Basque, Hawaiian, Khmer, and Welsh. Auto-detects source language when not specified. The/translate
command converts text from one language to another. Perfect for:
- Translating documents
- Converting messages
- Making content accessible in multiple languages
- Understanding foreign text
- Creating multilingual content
Basic Usage
There are three ways to use the translate command:- Direct text translation:
- File upload:
- File URL:
Supported Formats
- Text files (.txt)
- PDF (.pdf)
- Wav (.wav)
- Mp3 (.mp3)
Supported Languages
Major World Languages
- Arabic
- Bengali
- Chinese (Simplified and Traditional)
- English
- French
- German
- Hindi
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Less Commonly Supported Languages
- Croatian
- Czech
- Danish
- Dutch
- Estonian
- Finnish
- Greek
- Hebrew
- Hungarian
- Indonesian
- Latvian
- Lithuanian
- Norwegian
- Polish
- Romanian
- Serbian
- Slovak
- Slovenian
- Swedish
- Thai
- Turkish
- Ukrainian
- Vietnamese
Additional Languages
- Afrikaans
- Amharic
- Assamese
- Azerbaijani
- Basque
- Belarusian
- Bhojpuri
- Burmese
- Cebuano
- Chichewa (Nyanja)
- Corsican
- Esperanto
- Ewe
- Frisian
- Galician
- Georgian
- Gujarati
- Haitian Creole
- Hausa
- Hawaiian
- Hmong
- Igbo
- Javanese
- Kannada
- Kazakh
- Khmer
- Kurdish
- Kyrgyz
- Lao
- Luxembourgish
- Macedonian
- Malagasy
- Malayalam
- Maltese
- Maori
- Marathi
- Mongolian
- Nepali
- Odia (Oriya)
- Pashto
- Punjabi
- Samoan
- Scots Gaelic
- Sesotho
- Shona
- Sindhi
- Sinhala
- Somali
- Sundanese
- Tajik
- Tamil
- Telugu
- Uyghur
- Uzbek
- Welsh
- Xhosa
- Yiddish
- Yoruba
- Zulu