Translate
Using the Translate Module
The Translate module translates text between languages via Google Translate.
Command aliases:
,tr
,translate
Commands and Usage
Translate Phrase
Translates a phrase from one language to another.
-
Usage (three styles):
,translate <phrase>Auto-detect source ➜ English.,translate <target> <phrase>Auto-detect source ➜ target.,translate <source>:<target> <phrase>Explicit source ➜ target.
Common Language Codes
| Code | Language | Code | Language |
|---|---|---|---|
| auto | auto-detect | it | Italian |
| en | English | ja | Japanese |
| fr | French | ko | Korean |
| es | Spanish | nl | Dutch |
| de | German | pl | Polish |
| pt | Portuguese | ru | Russian |
| pt-BR | Portuguese (BR) | sv | Swedish |
| zh-CN | Chinese (Simplified) | tr | Turkish |
| zh-TW | Chinese (Traditional) | vi | Vietnamese |
| el | Greek | th | Thai |
| ar | Arabic | hi | Hindi |
*(Codes are ISO-639-1, case-insensitive. Dashes allowed, e.g. pt-BR zh-CN
Examples
-
Auto-detect ➜ English
,tr bonjour -
Auto-detect ➜ Spanish
,tr es good evening -
French ➜ German
,tr fr:de bonjour tout le monde -
English ➜ Simplified Chinese
,tr en:zh-CN Hello, world! -
Japanese ➜ Portuguese (Brazil)
,tr ja:pt-BR 今日は
Replace <phrase>, <source>, and <target> with your desired text and language codes.