LibreTranslate
Supported languages
ISO-639-1 codes the !translate command accepts as a target language argument.
!translate <code> <text> accepts the following ISO-639-1 codes. This is a permissive list — LibreTranslate will reject codes its specific model doesn't ship with, and the API surfaces that error to the user.
| Code | Language |
|---|---|
ar | Arabic |
az | Azerbaijani |
bg | Bulgarian |
bn | Bengali |
ca | Catalan |
cs | Czech |
da | Danish |
de | German |
el | Greek |
en | English |
eo | Esperanto |
es | Spanish |
et | Estonian |
eu | Basque |
fa | Persian |
fi | Finnish |
fr | French |
ga | Irish |
he | Hebrew |
hi | Hindi |
hu | Hungarian |
id | Indonesian |
it | Italian |
ja | Japanese |
ko | Korean |
lt | Lithuanian |
lv | Latvian |
ms | Malay |
nb | Norwegian |
nl | Dutch |
pl | Polish |
pt | Portuguese |
ro | Romanian |
ru | Russian |
sk | Slovak |
sl | Slovenian |
sq | Albanian |
sv | Swedish |
th | Thai |
tl | Tagalog |
tr | Turkish |
uk | Ukrainian |
ur | Urdu |
vi | Vietnamese |
zh | Chinese |
zt | Chinese (traditional) |
Default target
If no target code is given, English (en) is used:
!translate привет → "Hello" (auto-detect → en)
!translate ru hello roof → "привет крыша" (en → ru)
!translate :de tank rush → "Panzer-Sturm" (forced parse → de)
The :<code> prefix is the forced-code form — useful when the message you want to translate starts with what looks like a language code (e.g. !translate :en english is hard).