input: def translate_text(text: str, dest_language: str = 'fr') -> str:
      """ Translates the given text from English to the specified destination language using the Google Translate API.
      >>> translate_text("Hello, this is a sample text to translate.", 'fr')
      'Bonjour, ceci est un exemple de texte à traduire.'
      >>> translate_text("This is a test.", 'es')
      'Esto es una prueba.'
      """
      from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, dest=dest_language)
      return translation.text
output:     from googletrans import Translator
      translator = Translator()
      translation = translator.translate(text, dest=dest_language)
      return translation.text