def __init__(self, app):
     super(LanguageTranslationUtils, self).__init__()
     self.app = app
     self.service = LanguageTranslationService(
         username=
         '******',
         password='******')
Exemplo n.º 2
0
def getTranslationService():
    return LanguageTranslationService(
        username=
        '******',
        password='******')
Exemplo n.º 3
0
def getTranslationService():
    return LanguageTranslationService(
        username='******',
        password='******')
Exemplo n.º 4
0
 def __init__(self, app):
   super(LanguageTranslationUtils, self).__init__("language_translator")
   self.app = app
   self.service = LanguageTranslationService(username=self.getUser(),
                                             password=self.getPassword())
 def __init__(self, app):
     super(LanguageTranslationUtils, self).__init__()
     self.app = app
     self.service = LanguageTranslationService(username=username,
                                               password=password)
Exemplo n.º 6
0
 def __init__(self):
     super(LanguageTranslationUtils, self).__init__()
     self.service = LanguageTranslationService(
         username='******',
         password='******')