Yesterday I made a simple PHP script that behaves like a web browser and communicates with Google Translate. As the official Google Translate API is not freely available ($20/Month/1M requests) I hope that you will appreciate this!
Documentation:
Http request is formated as follows:
http://acos.bluefile.cz/translate.php?input=textToTranslate&from=originalLanguage&to=targetLanguage
Example Language codes:en for English
de for Deutsch
fr for French
cs for Czech
Response has an advertisement on the top of the page, to deal with this the output is put between <parse></parse> tags. The output is Url-encoded to deal with encoding of language-special characters. Spaces are replaced with "+" symbols (not "%20"!!!)
Example usage:
Translating "Hello community!" from English to French:
http://acos.bluefile.cz/translate.php?input=Hello%20community!&from=en&to=fr
Output:
<div ><div class="souhrn">Vyzkoušejte nový webhosting <a href="http://b.cz/">b.cz</a>. Nejkratšà doména 2. řádu na českém trhu.</div></div>
<parse>
Bonjour+la+communaut%C3%A9%21</parse>
You will definitely need to whitelist acos.bluefile.cz for this to work
Hope you understand, don't forget to give +1 if you like this :)/>
A very (very very very) simple example of a translator http://pastebin.com/neN7A2Aa
(It doesn't even remove the parse tags, its just to show a basic example of url decoding and request formatting)
You can use this if:
You will PM me first and ask for detailed information
You will only use the script inside CC
You will only provide the product using my script for free
You will give me the credit for this script visible inside both the program (eg sth like about tab) and the source code
Note: the server is online 24/7 and is able to handle up to 3 requests simultaneously