add translation for model
modify error messages