CakePHP 3.0.8 translate behavior and data validation (requirePresence, notEmpty)
My problem is simple, yet I can't figure out how to solve it. My website is multilanguage. I want the user to be able to add an article in multiple language if he wants, while requiring the inputs of his language (depending on his locale). Problem is, with CakePHP's conventions about translation, all the inputs must end with the field's name, no matter what language. So all the fields has the same rule for the same field. I can't make one "name" required while another in another language not required. For example, the default language's input would be: <input type="text" name="name" required=