bpierre/gtranslate — pull request #6 by Tey (2011-11-02 15:33:35+00:00)
Title: Google API workaround and large text translation support

Hi,

I changed the way gtranslate interacts with Google when translating a text selection so that such translations work again now that the official free API is dying. So far, I didn't encounter any limitation using this other (undocumented?) API. I know you're planning on moving to the Microsoft API, but meanwhile, maybe it's worth pushing an update of gtranslate with my modifications so that the numerous users of gtranslate won't see a too long functionality outage.

I also fixed a bug that appears when the user wants to translate a block of text that contains so many characters that the resulting URI is too big for the Google's server to accept. The fix is too put the text in the request body instead of in the request URI.

Regards,
Tey'