input: from typing import List
  
  
  def translate_text_to_french(text_list: List[str]) -> List[str]:
      """ Translates a list of English texts to French using the googletrans
      library. It installs the necessary module, creates a Translator object,
      and translates each text in the list. It returns a list of translated texts.
      >>> translate_text_to_french(["Hello, this is a sample text to translate."])
      ['Bonjour, ceci est un texte d'exemple à traduire.']
      """
output:     
      from googletrans import Translator
      translator = Translator()
      translated_texts = [translator.translate(text, src='en', dest='fr').text for text in text_list]
      return translated_texts
  