def METHOD_NAME(text: str) -> Tuple[bool, str, int]:
    if text:
        if re.match("^[a-zA-Z]{2,3}[-_][a-zA-Z]{2,3}$", text):
            language, country = text.replace("_", "-").split("-")
            text = "-".join([language.lower(), country.upper()])
        if bool(re.match("^[a-z]{2,3}-[A-Z]{2,3}$", text)):
            return True, text, IndicatorReasonsCommon.VALID
        else:
            return False, text, IndicatorReasonsCommon.WRONG_FORMAT
    else:
        return True, text, IndicatorReasonsCommon.VALID