I found a ticket open abot this problem here: https://trac.cakephp.org/ticket/3680.
It seems I'll have to wait for this enhancement, or write an extra queries. On Feb 15, 2:04 pm, senser <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using CakePHP to develop a multi-language CMS and have troubles > with translate baheviour. > > For example I have model named "Offer" and related model "Category" as > relation is "Offer"--belongsTo-->"Category". I set up i18n sql tables > and using "var $actAs" in models translate the content, but when I try > to fetch data form table "Offers" with relevant "Category" I just > receive category_id, but not translated category content. > > I read this article in Frequent > Discussion:http://groups.google.com/group/cake-php/browse_thread/thread/889c63d3... > and there is post were jitka says that translation makes hasMany > relation to retrieve the content of relatede models (in my case - > translated version of "Category"). > > Am I wrong or skip something ??? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
