input: 
  from googletrans import Translator
  
  def translate_english_to_french(text: str) -> str:
      """Translate the given English text to French.
      >>> translate_english_to_french("Hello, this is a sample text to translate.")
      "Bonjour, ceci est un texte d'exemple à traduire."
      """
      translator = Translator()
      translation = translator.translate(text, dest='fr')
      return translation.text
  
  # Example usage:
  # translated_text = translate_english_to_french("Hello, this is a sample text to translate.")
  # print(translated_text)  # Output: "Bonjour, ceci est un texte d'exemple à traduire."
  
output:     translator = Translator()
      translation = translator.translate(text, dest='fr')
      return translation.text