code: def auto_from_buffer(string, destLang, serverEndpoint=ServerEndpoint):
      '''
      Translates content to desired language by auto detecting the source language
      :param string: input content which needs translation
      :param destLang: name of the desired language for translation
      :param serverEndpoint: Tika server end point (Optional)
      :return:
      '''
      status, response = callServer('put', ServerEndpoint, '/translate/all/'+Translator+'/'+destLang, 
                                    string, {'Accept': 'text/plain'}, False)
      return responsf auto_from_buffer(string, destLang, serverEndpoint=ServerEndpoint):
      '''
      Translates content to desired language by auto detecting the source language
      :param string: input content which needs translation
      :param destLang: name of the desired language for translation
      :param serverEndpoint: Tika server end point (Optional)
      :return:
      '''
      status, response = callServer('put', ServerEndpoint, '/translate/all/'+Translator+'/'+destLang, 
                                    string, {'Accept': 'text/plain'}, False)
      return response
docs: Translates content to desired language by auto detecting the source language
      :param string: input content which needs translation
      :param destLang: name of the desired language for translation
      :param serverEndpoint: Tika server end point (Optional)
      :return: