hello,
how to retrieve the multiple data translated in the edit form
public function edit($id = null)
{
$slider = $this->Sliders->get($id);
//$slider = $this->Sliders->find('translations')->where(['Sliders.id' => $id]); // not work
$this->set(compact('slider'));
}
edit.php:
foreach($langs as $lang)
echo $this->Form->control('_translations.'.$lang.'.name',array('label'=>__('name.'.$lang)));