If I try to translate an entity having attached the Behavior as indicated in the docs for CakePHP 4 in Behavior Translate:
// By default Eav strategy will be used.
$this->addBehavior('Translate', ['fields' => ['title', 'body', 'slug']]);
just insert the translation for the first field ‘title’, neither body nor slug are inserted in the translations table.
But if i change like that:
$this->addBehavior('Translate', ['fields' => array('title', 'body', 'slug')]);
Then all the data is inserted correctly. This is due to a configuration problem or an error in the docs?