input: from typing import List
  
  def translate_text_to_french(text: str) -> str:
      """ Translate a given text from English to French.
      >>> translate_text_to_french("Hello, this is a sample text to translate.")
      'Bonjour, ceci est un exemple de texte à traduire.'
      """
output:     
      translation = {
          "Hello": "Bonjour",
          "this": "ceci",
          "is": "est",
          "a": "un",
          "sample": "exemple",
          "text": "texte",
          "to": "à",
          "translate": "traduire"
      }
      
      words = text.split()
      translated_words = [translation[word] if word in translation else word for word in words]
      return ' '.join(translated_words)
  