validation and translation