@_load_language<EOL>def translate(src, dest, word):
results = []<EOL>try:<EOL><INDENT>from textblob import TextBlob<EOL>results.append(TextBlob(word).translate(from_lang = src, to = dest).string)<EOL><DEDENT>except ImportError:<EOL><INDENT>pass<EOL><DEDENT>if not results:<EOL><INDENT>return [None]<EOL><DEDENT>return results<EOL>
Translates a word using Google Translate.