localizing some error messages