The problem was solved in this way: https://book.cakephp.org/5/en/orm/behaviors/translate.html#querying-translated-fields