i have this:-
$str = 'hello';
$url = "https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=fr&dt=t&q=" . $str;
$R=file_get_contents($url);
print($R);
and i get:-
[[["Bonjour","hello",null,null,1] ] ,null,"en",null,null,null,1.0,[] ,[["en"] ,null,[1.0] ,["en"] ] ]
could you help me to get access to 'Bonjour'
and 'en'
?
its a string, im trying to decode, uncode, etc, but nothing work to get something normal. thank you in advance