Python Library for Google Translate - good coders code, great reuse
http://www.catonmat.net/blog/python-library-for-google-translate/
frickin sweet
I have extended my xgoogle library with a Python module for Google Translate. The new module is called “xgoogle.translate” and it implements two classes - “Translator” and “LanguageDetector“. The “Translator” class can be used to translate text. It provides a function called “translate” that takes three arguments - “message“, “lang_from” and “lang_to“. It returns the translated text as a Unicode string. Don’t forget to encode it to the right encoding before outputting, otherwise you’ll get errors such as “UnicodeEncodeError: ‘latin-1′ codec can’t encode characters in position 0-3: ordinal not in range(256)”
Llyfrgell google translate i python