Watt Posted April 1, 2010 Share Posted April 1, 2010 I have got a problem. I want to change my page code* to other lang via google translate I wrote: $link = 'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=' . urlencode($pagecode) . '&langpair=' . $langin . '%7C' . $langout; $pagecode = file_get_contents($link); But it does not work * - Code of page - I mean: <html> <head> ... ... blah blah blah ... </head> <body> ... ... ... ... ... ... </body> </html> Link to comment https://forums.phpfreaks.com/topic/197278-translate-my-page/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.