def gettext ( self , string , domain = None , * * variables ) : t = self . get_translations ( domain ) return t . ugettext ( string ) % variables
googletrans to translate one column to a new column in english python
Translate a string with the current locale .
def gettext(self, string, domain=None, **variables):
        """Translate a string with the current locale."""
        t = self.get_translations(domain)
        return t.ugettext(string) % variables