So I am trying to get a string back from google but translated as you can see
function Translate($fromLang,$toLang,$text){
$texts = file_get_contents(
"https://translate.googleapis.com/translate_a/single?client=gtx&sl="
. $fromLang .
"&tl=" .
$toLang . "&dt=t&q=" . $text);
return $texts;
}
But this returns an ugly string like this if the parameters are set to
Print(Translate("en","es","Hello"));
[[["Hola","Hello",null,null,1]],null,"en"]
According to the "scattered" and poor documentation on personal use without paying the enterprise fees this should work