mzubairsaleem / gtranslate-api-php

Automatically exported from code.google.com/p/gtranslate-api-php
GNU General Public License v3.0
0 stars 0 forks source link

A working example of Gtranslate.php Class, for version 2 of Google translation API #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hello all,

The attachment carries GTranslate.php class (GTranslateV2.php), configured for 
version 2 of Google Translation API, along with an example file (example.php). 

Just make sure that you put your personalized API key at line no. 183 of 
example.php file, before executing it on server.

Write to me if you encounter any issues.

Thanks,
Rohitashva Singh Rathore

Original issue reported on code.google.com by rohitas...@ranosys.com on 16 Dec 2011 at 3:55

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, gonna try it out today

Original comment by tzve...@gmail.com on 24 Apr 2012 at 3:14

GoogleCodeExporter commented 8 years ago
Hi, 
I have downloaded the zip file you attached but I encountered error when I run 
the script in my localhost server. These are the errors: 
Notice: Undefined variable: a in C:\xampp\htdocs\googleapiversion2\example.php 
on line 189

Notice: Trying to get property of non-object in 
C:\xampp\htdocs\googleapiversion2\example.php on line 189
Translation not possible for the selected language pair!

Thanks.

Original comment by dagohoyj...@gmail.com on 26 Jul 2012 at 5:42