CakePHP 3.1: Validation for translate behaviour fields (i18n) -
i'm trying add item including multiple translations in 1 form cakephp translate behaviour . how can validate translation fields? e.g. make specific languages required? let's assume have simple items table separate translations table items_i18n , set described in book. simple example items table has 1 field title translate , want save title in 5 languages. make form (in add view template): echo $this->form->create($item, ['controller' => 'items', 'action' => 'add']); echo $this->form->input('title', ['label' => __('english')]); echo $this->form->input('_translations.es.title', ['label' => __('spanish')]); echo $this->form->input('_translations.fr.title', ['label' => __('french')]); echo $this->form->input('_translations.de.title', ['label' => __('german')]); echo $this->form->inpu...