def translate(self, from_lang=None, to="<STR_LIT>"):
if from_lang is None:<EOL><INDENT>from_lang = self.translator.detect(self.string)<EOL><DEDENT>return self.translator.translate(self.string,<EOL>from_lang=from_lang, to_lang=to)<EOL>
Translate the word to another language using Google's Translate API.

        .. versionadded:: 0.5.0 (``textblob``)