Google Translating large blocks of text

schockergd

New member
Dec 11, 2008
3,282
30
0
Circleville Ohio
Is there a way to easily translate large files of text using google translate?

I've found some pretty nifty python scripts and the like for translating text , however none will take from a source file and output to another file or similar.

What I'd like to do would be able to run translate functions on sql tables of articles, translate (for instance) from ENG>DE , then take that DE article and translate either back into english , or DE>FR>ENG or a mixture of various methods.

As of yet I haven't found anything out there that can do this , although there's TONS of wordpress translate plugins that have the potential to do similar things.
 


If their Translate API is anything like every other Google API, it's going to be severely limited, although I haven't checked it out.

If it doesn't work out for you, look into using Mechanize with Ruby or Python. I've been having a lot of success running many, many revolving requests to Google using Ruby, Mechanize, and Delayed_Job to run it as a background process. With Mechanize, you can craft a script that navigates to Google Translate, inputs a block of text, submits the translation, then scrapes the output into your database.
 
I have used the Translate API for about 12.000 e-shop product descriptions and it ran fine, no need for proxies etc