doTranslation($textToTranslate)) { $tranlation = $translate->getTranslationWithBreaks(); } else { $errors = $translate->getErrors(); } } else { $errors[] = 'The code you entered did not match the verification image'; } } ?> Free Translation API - Google Translation API
Version: 1.0
Created: February 24th, 2006
Download: Not Available
Help Files: Not Available
Intrigue Design Consulting - Toronto Web Development

Free Translation API

The Google translation service is a great alternative to the pay-per-translation services seen online. If you're curious, the translation service is a part of Google's translation tools.

While still in beta, our experience of the Google translation service thus far has been very positive. The translations are accurate, well formed, and best of all, FREE!

PLEASE NOTE: Due to bandwidth restrictions the test below has been capped to 500 characters of text.

"; print '

The following errors occurred:

'; idd_print_a ($errors, true); echo ""; } ?>

Google Translation API

Enter the text to translate below:

Translation


    Code Verification: Please enter the code you see here in the form field provided    



About the Google Translation API

While developing a recent project we needed a reliable and useable solution for retrieving language translations.

The quality of the translations was not a paramount success factor, however, the cost of retrieving translations was important. Nothing beats free!

Being big fans of Google, and beta testing their translation service we were able to create a reuseable free translation API that "taps" into the Google translation service. This provided us with a quick-fast free method of retrieving translations for a variety of languages.

The source code for this free translation API is not currently available as a download due to a variety of legalities.

Should you need this component please feel free to inquire within, or post a message in the PHP Translation API forum.

*/?>

How Accurate are the Free Translations

The accuracy of the translations are quite good, though some language is lost in translation. We don't recommend using automated translations to further translate from one language to another. Shown below are two very quick examples of what can happen.

Starting with English, and translating in a circular fashion the following happens:

3 LANGUAGE TRANSLATION:

English:I went to the park on a Saturday afternoon.
English To French:Je suis allé au parc samedi après-midi.
French To German:Ich ging zum Park Samstag Nachmittag.
German Back To English:I went to the park Saturday afternoon.


2 LANGUAGE TRANSLATION:

English:I went to the park on a Saturday afternoon.
English To German:Ich ging zum Park an einem Samstag Nachmittag.
German Back To English:I went to the park on one Saturday afternoon.





FILE SOURCE CODE

If you want the source code for idd_google_translate.class.php please drop us a line in the PHP API translation forum.

Source Code (index.php):