Get Translation from new Google interface using PHP

Fertiggestellt Veröffentlicht vor 5 Jahren Bezahlt bei Lieferung
Fertiggestellt Bezahlt bei Lieferung

I have a PHP program to get translations using PHP, this program asks for Google Translate content using file_get_contents, the current code is like this:

----

$page=file_get_contents("[login to view URL]$fr|$to&text=$text");

$page=substr($page,strpos($page,"TRANSLATED_TEXT")+strlen("TRANSLATED_TEXT")+2);

$page=substr($page,0,strpos($page,"';var ctr"));

echo $page;

----

Yesterday Google Translate changed its website and this code is not working anymore, I need to update it to work on the new web page.

PHP

Projekt-ID: #18262774

Über das Projekt

7 Vorschläge Remote Projekt Aktiv vor 5 Jahren

Vergeben an:

NadirBouchama

Hello mate, how are you doing ? If the project is fairly paid I can build you a small part of it as form of a demo, afterwards you'll decide if you should hire me or not so don't hesitate to contact me even though you Mehr

$110 USD in 2 Tagen
(63 Bewertungen)
6.3

7 Freelancer bieten im Durchschnitt $114 für diesen Job

batasoy

Hi! ** I HAVE A WORKING CODE NOW; AFTER I BID; I TESTED IT! ** This is an easy project and you're getting very high bids! I'm an expert PHP deveoper and you can see my reviews here: https://www.freelancer.com/u/b Mehr

$50 USD in 2 Tagen
(66 Bewertungen)
6.5
testotorko

Hi. I wanna do it for you. PHP, MySQl, jQuery / Prototype, Javascript, HTML, CSS expert and can start right away.

$30 USD in 2 Tagen
(94 Bewertungen)
5.7
fde5811cdbd487ea

Hi I have experienced in Google Translate api. Me and my customers currently use it . I am ready to do it. Just write me to discuss about project. Thank you

$55 USD in 2 Tagen
(0 Bewertungen)
0.0