ENGLISH:
Sale ID prefix is a required field
FRENCH:
Vente préfixe d'ID est un champ obligatoire
Is there a way to have goog
According to the Google Translate documentation, you can choose which format you will provide the text which is to be translated (see format
in query parameters). The format defaults to HTML
if not specfied.
You should set this query parameter to text
to indicate that you are sending plain-text as Google will likely return the translated text in the same format as it is received.
So your PHP code could become:
$baseUrl = "https://www.googleapis.com/language/translate/v2";
$params ="?key=$api_key&q=$value&source=en&target=$language_key&format=text";
$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $baseUrl + $params );