def METHOD_NAME():
    os.chdir(os.path.dirname(__file__) + "/..")
    print("Generation of translations.....................", end="")
    language_keywords = get_translations(KEYWORDS_PATH, KEYWORDS_PATTERN)
    # Saving the rules in the corresponding file
    with open(OUTPUT_PATH_TRANSLATION, "w", encoding='utf8') as file_lang:
        file_lang.write(json.dumps(language_keywords, indent=4, ensure_ascii=False))
    print(" Done !")
    print("Generation of syntax highlighting rules........", end="")
    # List of rules by level
    levels = generate_rules()
    validate_ruleset(levels)
    # Saving the rules in the corresponding file
    with open(OUTPUT_PATH_HIGHLIGHT, "w", encoding='utf8') as file_syntax:
        file_syntax.write(json.dumps(levels, indent=4, ensure_ascii=False))
    print(" Done !")