Closed rtwent closed 3 years ago
GoogleTranslate line 126. foreach ($sentencesArray["sentences"] as $s) { $sentences .= isset($s["trans"]) ? $s["trans"] : ''; } We use it in circle and some of the data we want to translate are empty. So, code generate error
foreach ($sentencesArray["sentences"] as $s) { $sentences .= isset($s["trans"]) ? $s["trans"] : ''; }
Updated to 1.2.0, check again with that version
GoogleTranslate line 126.
foreach ($sentencesArray["sentences"] as $s) { $sentences .= isset($s["trans"]) ? $s["trans"] : ''; }
We use it in circle and some of the data we want to translate are empty. So, code generate error