It would be nice to compare the quality of the translations against DeepL Translator, which is very well received:
(Wikipedia:) Reception of DeepL Translator in 2017 has been generally positive, with TechCrunch appreciating it for the accuracy of its translations, stating that it was more accurate and nuanced than Google Translate,[6] and Le Monde thanking its developers for translating French text into more 'French-sounding' expressions.
Usage: You can translate multiple texts (up to 50 if I remember correctly) in a single request:
curl https://api.deepl.com/v2/translate \
-d auth_key=your_auth_key \
-d "text=This is the first sentence." \
-d "text=This is the second sentence." \
-d "text=This is the third sentence." \
-d "source_lang=EN-US"
-d "target_lang=DE"
Note that the DeepL API has two particularities:
The language identifiers are all UPPERCASE.
The API only supports multiple text parameters, not text[].
It would be nice to compare the quality of the translations against DeepL Translator, which is very well received:
Note that the DeepL API has two particularities:
text
parameters, nottext[]
.