For example, I want when “both the wrong number and the limit is 10 people” - different validation error messages appear; since one appears in Russian, and the second in English.
About what I want:
[ ['peop_number'], 'integer', 'message' => 'Должно быть числом', 'max' => 10, 'message'=>'Не может превышать 10 человек', ],