Features
- Fast, high quality Translation API powered by Neural Machine Translation models.
- Free Translation API plan with paid plans as low as $0.3 per million characters.
- Text/HTML/JSON translation
- Multiple source texts and target languages in a single request.
- Protected JSON values: Skip translations as desired with JSON data payload.
What it does
The Lecto Translation API provides the following endpoints. For details, please refer to sub-sections below which give details and request/response examples for each endpoint.
-
Translate texts
: POST/v1/translate/text
. Batch translate array of texts into multiple target languages. You can send multiple source texts from the same language and translate them in one-shot into multiple target languages. -
Translate JSON Payload
: POST/v1/translate/json
. Translate JSON values from JSON formatted strings into multiple target languages, with protected keys feature available. -
Detect Language
: POST/v1/detect/text
. Send array of source texts in request body and receive JSON response with the detected language codes. -
List Languages
: GET/v1/translate/languages
. Get a list of supported languages for translation in ISO-639-1, ISO-639-2 or BCP-47 formats. We support more than 90 languages at present as follows. The language codes presented are inISO-639-1
format unless stated otherwise below.af
- “Afrikaans”sq
- “Albanian”am
- “Amharic”ar
- “Arabic”hy
- “Armenian”az
- “Azerbaijani”be
- “Belarusian”bn
- “Bengali”bs
- “Bosnian”bg
- “Bulgarian”ca
- “Catalan”ceb
- “Cebuano” (ISO-639-2)zh-CN
- “Chinese (Simplified)” (BCP-47)zh-TW
- “Chinese (Traditional)” (BCP-47)hr
- “Croatian”cs
- “Czech”da
- “Danish”nl
- “Dutch”en
- “English”et
- “Estonian”tl
- “Filipino”fi
- “Finnish”fr
- “French”fy
- “Frisian”gl
- “Galician”ka
- “Georgian”de
- “German”el
- “Greek”gu
- “Gujarati”ht
- “Haitian Creole”ha
- “Hausa”he
- “Hebrew”hi
- “Hindi”hu
- “Hungarian”is
- “Icelandic”ig
- “Igbo”id
- “Indonesian”ga
- “Irish”it
- “Italian”ja
- “Japanese”kn
- “Kannada”kk
- “Kazakh”km
- “Khmer”ko
- “Korean”lo
- “Lao”lv
- “Latvian”lt
- “Lithuanian”lb
- “Luxembourgish”mk
- “Macedonian”mg
- “Malagasy”ms
- “Malay”ml
- “Malayalam”mr
- “Marathi”mn
- “Mongolian”my
- “Myanmar (Burmese)”ne
- “Nepali”no
- “Norwegian”or
- “Odia (Oriya)”ps
- “Pashto”fa
- “Persian”pl
- “Polish”pt-PT
- “Portuguese”pt-BR
- “Portuguese (Brazil)”pa
- “Punjabi”ro
- “Romanian”ru
- “Russian”gd
- “Scots Gaelic”sr
- “Serbian”sd
- “Sindhi”si
- “Sinhala”sk
- “Slovak”sl
- “Slovenian”so
- “Somali”es
- “Spanish”su
- “Sundanese”sw
- “Swahili”sv
- “Swedish”ta
- “Tamil”th
- “Thai”tr
- “Turkish”uk
- “Ukrainian”ur
- “Urdu”uz
- “Uzbek”vi
- “Vietnamese”cy
- “Welsh”xh
- “Xhosa”yi
- “Yiddish”yo
- “Yoruba”zu
- “Zulu”