def english_to_french(english_text, language_translator):
    """Translates text from english to french
    """

    if english_text == "":
        french_text = {'translations' : [{"translation" : ""}]}
        return french_text

    french_text = language_translator.translate(
    text=english_text,
    model_id='en-fr').get_result()
    return french_text