The IBM Watson Language Translator service converts text input in one language into a destination language for the end user using background from domain-specific models. Translation is available among Arabic, Catalan, Chinese (Simplified and Traditional), Czech, Danish, Dutch, English, Finnish, French, German, Hindi, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Russian, Spanish, Swedish and Turkish (some languages may not be available for all domains).
Neural Machine Translation
By default all language pairs leverage neural machine translation. This new technology uses deep learning to improve translation speed and accuracy.
Supported Languages
Arabic, Bengali, Bulgarian, Catalan, Chinese (Simplified & Traditional), Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Gujarati, Hebrew, Hindi, Hungarian, Irish, Italian, Indonesian, Japanese, Korean, Latvian, Lithuanian, Malay, Maltese, Malayalam, Nepali, Norwegian, Polish, Portuguese (Brazil), Romanian, Russian, Sinhala, Slovak, Slovenian, Spanish, Swedish, Tamil, Telugu, Thai, Turkish, Urdu, and Vietnamese
Protect your privacy
We protect your privacy so you can own your data. With Watson Language Translator, opt-out of any data collection.
Sample Code
Below is a sample cURL command translating a famous speech by President Kennedy into Simplified Chinese
curl --location --request POST 'https://api.apilayer.com/language_translation/translate?target=zh' \
--header 'apikey: YOUR API KEY' \
--data-raw 'We choose to go to the Moon in this decade and do the other things, not because they are easy, but because they are hard, because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win, and the others, too.'
You don't need to specify the source language as it will be automatically detected. If you need to be spesific, you can do so by using source parameter in the query string
The response will be as follows:
{
"translations": [
{
"translation": "我们选择在这十年去月球,做其他事情,不是因为它们容易,而是因为它们很困难,因为这一目标将有助于组织和衡量我们的能量和技能,因为这一挑战是我们愿意接受的,一个我们不愿推迟的挑战,一个我们想要赢得的挑战,另一个是我们想要赢得的,其他人也一样。"
}
],
"word_count": 78,
"character_count": 359,
"detected_language": "en",
"detected_language_confidence": 0.9999999999990641
}