Python Library for Google Translate(catonmat.net)
catonmat.net
Python Library for Google Translate
http://www.catonmat.net/blog/python-library-for-google-translate/
4 comments
I find this incredibly useful for internationalizing apps! I can tell I'm going to have alot of fun using this lib.
Please don't use it for I18N.
It would surely produce some funny yet useless message and is vulnerable to poisoning.
It would surely produce some funny yet useless message and is vulnerable to poisoning.
Good point, or you end up with situations like http://news.bbc.co.uk/1/hi/wales/7702913.stm
> When officials asked for the Welsh translation of a road sign, they thought the reply was what they needed. Unfortunately, the e-mail response to Swansea council said in Welsh: "I am not in the office at the moment. Send any work to be translated".
That said, using Google Translate to make an initial translation should be fine, as long as you get someone who actually speaks the language to check it over before release.. For smaller projects, it's going to be easier to get someone check over a file, than getting them to manually translate hundreds of phrases
> When officials asked for the Welsh translation of a road sign, they thought the reply was what they needed. Unfortunately, the e-mail response to Swansea council said in Welsh: "I am not in the office at the moment. Send any work to be translated".
That said, using Google Translate to make an initial translation should be fine, as long as you get someone who actually speaks the language to check it over before release.. For smaller projects, it's going to be easier to get someone check over a file, than getting them to manually translate hundreds of phrases
I've been looking for a natural language translation library for Python lately. And here it comes, Peteris Krumins writes one, thanks Peteris!
You're welcome! :)
Nice!
http://ajax.googleapis.com/ajax/services/language/translate?...
They're not bad. I use it in a TextMate-Script which replaces Text with the translation (for gettext files).