ah, findList uses format results and not map() reduce() the entity i get in map() only has an array of _i18n entities not the _translations array set
On 19 Aug 2014, at 00:27, José Lorenzo <[email protected]> wrote: > This tests shows that it is possible > https://github.com/cakephp/cakephp/blob/3.0/tests/TestCase/Model/Behavior/TranslateBehaviorTest.php#L132 > > What problems are you having? > > On Monday, August 18, 2014 10:15:16 PM UTC+2, Thomas von Hassel wrote: > When doing map/reduce on a model with translated fields, there is not good > way to get the translated content in the map/reduce fase except to look in > the `_i18n` association ? > > /thomas > > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/cake-php. > For more options, visit https://groups.google.com/d/optout. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
