Skip to main content

1. How to Use a Language Code?

The translation command allows you to convert text from one language to another using specific language codes. The syntax is structured so that you first specify the target language, then the source language, followed by the text you want to translate. Both the (to) and (from) parameters must be valid language codes, which you can find in the language table below (for example, en for English, fr for French, es for Spanish, etc.). For example, if you want to translate a sentence from English to French, you would use the French language code fr as the target language and en as the source language:
;translate fr en Hello, how are you?
Translate Cmd
This command translates the text “Hello, how are you?” from English into French. You can also translate text directly from an image using the OCR translation command. This command extracts text from the provided image URL and then translates it into the specified language.
;ocrtr https://cursebot.site/image.png en
Ocrtr Cmd
This will extract the text from the image and translate it into English (en).

2. Language Reference Table

Use these codes to precisely define your translation source and destination.
LanguageCode
Englishen
Spanishes
Frenchfr
Germande
Italianit
Portuguesept
Russianru
Japaneseja
Koreanko
Chinesezh
Abkhazianab
Afaraa
Afrikaansaf
Akanak
Albaniansq
Amharicam
Arabicar
Aragonesean
Armenianhy
Assameseas
Avaricav
Avestanae
Aymaraay
Azerbaijaniaz
Bambarabm
Bashkirba
Basqueeu
Belarusianbe
Bengalibn
Biharibh
Bislamabi
Bosnianbs
Bretonbr
Bulgarianbg
Burmesemy
Catalanca
Chamorroch
Chechence
Chichewany
Chuvashcv
Cornishkw
Corsicanco
Creecr
Croatianhr
Czechcs
Danishda
Divehidv
Dutchnl
Dzongkhadz
Esperantoeo
Estonianet
Eweee
Faroesefo
Fijianfj
Finnishfi
Fulaff
Galiciangl
Georgianka
Greekel
Guaranign
Gujaratigu
Haitian Creoleht
Hausaha
Hebrewhe
Hererohz
Hindihi
Hiri Motuho
Hungarianhu
Interlinguaia
Indonesianid
Interlingueie
Irishga
Igboig
Inupiaqik
Idoio
Icelandicis
Inuktitutiu
Javanesejv
Kalaallisutkl
Kannadakn
Kanurikr
Kashmiriks
Kazakhkk
Khmerkm
Kikuyuki
Kinyarwandarw
Kyrgyzky
Komikv
Kongokg
Kurdishku
Kwanyamakj
Latinla
Luxembourgishlb
Lugandalg
Limburgishli
Lingalaln
Laolo
Lithuanianlt
Luba-Katangalu
Latvianlv
Manxgv
Macedonianmk
Malagasymg
Malayms
Malayalamml
Maltesemt
Maorimi
Marathimr
Marshallesemh
Mongolianmn
Nauruna
Navajonv
Norwegian Bokmålnb
Northern Ndebelend
Nepaline
Ndongang
Norwegian Nynorsknn
Norwegianno
Sichuan Yiii
Southern Ndebelenr
Occitanoc
Ojibweoj
Old Church Slavoniccu
Oromoom
Odiaor
Ossetianos
Punjabipa
Palipi
Persianfa
Polishpl
Pashtops
Quechuaqu
Romanshrm
Rundirn
Romanianro
Sanskritsa
Sardiniansc
Sindhisd
Northern Samise
Samoansm
Sangosg
Serbiansr
Scottish Gaelicgd
Shonasn
Sinhalasi
Slovaksk
Slovenesl
Somaliso
Sesothost
Sundanesesu
Swahilisw
Swatiss
Swedishsv
Tamilta
Telugute
Tajiktg
Thaith
Tigrinyati
Tibetanbo
Turkmentk
Tagalogtl
Tswanatn
Tongato
Turkishtr
Tsongats
Tatartt
Twitw
Tahitianty
Uighurug
Ukrainianuk
Urduur
Uzbekuz
Vendave
Vietnamesevi
Volapükvo
Walloonwa
Welshcy
Wolofwo
Western Frisianfy
Xhosaxh
Yiddishyi
Yorubayo
Zhuangza
Zuluzu