input: 
  def translate_text_to_french(text: str) -> str:
      """ Translates the given English text to French using the googletrans library.
      >>> 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()
      translation = translator.translate(text, src='en', dest='fr')
      return translation.text
  