code: def doTranslate(option, urlOrPaths, serverEndpoint=ServerEndpoint, verbose=Verbose, tikaServerJar=TikaServerJar, 
                  responseMimeType='text/plain',
                  services={'all': '/translate/all'}):
      '''
      Translate the file from source language to destination language.
      :param option:
      :param urlOrPaths:
      :param serverEndpoint:
      :param verbose:
      :param tikaServerJar:
      :param responseMimeType:
      :param services:
      :return:
      '''
      paths = getPaths(urlOrPaths)
      return [doTranslate1(option, path, serverEndpoint, verbose, tikaServerJar, responseMimeType, services)
              for path in pathsf doTranslate(option, urlOrPaths, serverEndpoint=ServerEndpoint, verbose=Verbose, tikaServerJar=TikaServerJar, 
                  responseMimeType='text/plain',
                  services={'all': '/translate/all'}):
      '''
      Translate the file from source language to destination language.
      :param option:
      :param urlOrPaths:
      :param serverEndpoint:
      :param verbose:
      :param tikaServerJar:
      :param responseMimeType:
      :param services:
      :return:
      '''
      paths = getPaths(urlOrPaths)
      return [doTranslate1(option, path, serverEndpoint, verbose, tikaServerJar, responseMimeType, services)
              for path in paths]
docs: Translate the file from source language to destination language.
      :param option:
      :param urlOrPaths:
      :param serverEndpoint:
      :param verbose:
      :param tikaServerJar:
      :param responseMimeType:
      :param services:
      :return: