new StudentValidator component with localized messages