def send_translated_message(user, message, **kwargs):
    verified_number = user.get_verified_number()
    if not verified_number:
        return False
    with localize(user.get_language_code()):
        send_sms_to_verified_number(verified_number, message % kwargs)
        return True
dataset/ETHPy150Open dimagi/commcare-hq/custom/ilsgateway/utils.py/send_translated_message/original