def init():
    """ Install gettext with the default parameters """
    if "_" not in builtins.__dict__:  # avoid installing lang two times
        os.environ["LANGUAGE"] = inginious.input.get_lang()
        if inginious.DEBUG:
            gettext.install("messages", get_lang_dir_path())
        else:
            gettext.install("messages", get_lang_dir_path())
Install gettext with the default parameters