Text Translation
Commands
The primary command for translating text is /translate. This slash command provides an intuitive interface for translating any text to your desired language.
Command Syntax
/translate [target] [optional: source] [text]Parameters:
target-language: The language you want to translate to (required)source-language: The language of the original text (optional, auto-detected if not specified)text: The text you want to translate (required)
Examples
Example 1: Basic Translation
Translate text to a specific language.
/translate source-language:English target-language:French text:Hello worldResult: Bonjour le monde
Example 2: Auto-Detect Source Language
When you don’t specify the source language, TranslateMate automatically detects it:
/translate target-language:German text:Hello worldResult: Hallo Welt
Example 3: Long Text Translation
You can translate longer texts, including multiple sentences:
/translate target-language:Spanish text:This is a longer message that demonstrates the bot's ability to translate complex sentences with proper grammar and context.Example 4: Using Language Codes
Instead of full language names, you can use ISO 639-1 language codes:
/translate target-language:DE text:Good morning everyoneResult: Guten Morgen zusammen
Translation Features
High-Quality Translations
TranslateMate uses DeepL’s industry-leading translation engine, providing:
- Context-aware translations that understand sentence structure
- Natural phrasing that sounds like a native speaker
- Grammar accuracy with proper conjugation and declension
- Idiomatic expressions translated appropriately
Supported Content Types
The bot can translate various types of text:
- Plain text messages
- Technical documentation
- Casual conversations
- Formal communication
- Markdown formatting (preserved in translation)
Character Limits
- Free tier: Up to 500,000 characters per month per server
- Basic subscription: Up to 2,500,000 characters per month
- Premium subscription: Unlimited translations
Tips for Best Results
- Be specific: Clear, well-written text produces better translations
- Use punctuation: Proper punctuation helps the AI understand context
- Avoid slang: Extremely colloquial expressions may not translate perfectly
- Check language codes: Make sure you’re using the correct target language
Alternative Translation Methods
Besides the /translate command, TranslateMate offers other ways to translate:
- Translate Through Flags: React with flag emojis to translate messages
- Translate Users: Automatically translate all messages from specific users
- Translate Channels: Automatically translate all messages in specific channels
Need Help?
If you have questions about text translation, join our [Discord Server]({{ .Site.Params.discord.supportServerUrl }}) or use the /help command.