Re: i18n and belongsTo

2007-12-11 Thread Klokan
Thanks for your reply. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED]

i18n and belongsTo

2007-12-10 Thread Klokan
Hi there, I have problem with i18n. I have model user which is belongsTo group. I have model group where fields are localized: var $actsAs = array('Translate' = array('name','description')); When I load data from user, I have any fields from group but not localized fields . CakePhp reads only

Re: i18n and belongsTo

2007-12-10 Thread snowdog
I posted a ticket (#3680) for this issue. It looks we have to wait for this 'enhancement' --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com

Re: i18n and belongsTo

2007-12-10 Thread mouth
Right now, all behavior callbacks are executed only on 'primary' models, so there are only 2 possible solutions: #1 extra query - don't fetch associated group data by User-find() but call Group-find() with condition on known group ID (from previous User-find() query) #2 bind association Group