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/889c63d32cfdf69/925ac611e22c3359?q=i18n+belongsto&lnk=ol&#
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to