I need to translate a list of medicine active ingredients. Using the API I get wrong translations from time to time; for the very same active ingredients for which I get an erroneous translation, I have the right translation from the Google search web page. Here is an example for the active ingredient "CALCIO LATTOGLUCONATO" in Italian original language
Here is the code for the API setting in PHP (but could be done in any other language)
function translateText($text, $source_language, $translation_language){
//$post_array = $this->input->post();
$params= array(
"q" => $text,
"target" => $translation_language,
"format" => 'text',
"source" => $source_language,
"model" => 'base',
"key" => // here my personal key
);
return postCURL($url, $params);
}
I think it is worth underlining that this is not a coding bug/issue, it is an issue referred to the Google Translate API. Could change something using a different model instead of the "base" one?
Thanks.
Here is the screenshot of the correct result from the Google web search page translator: