Re: Some doubts with Dynamic Content Localization

2008-03-06 Thread ninjapiza

Hi,
What's your question about your doubt is with associated models ?

On 26 fév, 13:34, Fran Iglesias [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to implement dynamic content localization in one project
 usingtranslatebehavior and the i18n table.

 One doubt is withassociatedmodels. Looking at theTranslate
 behavior code seems that at least hasMany associations could be
 managed by the behavior itself, but it's no clear to me how to
 achieve this in theactsAsarrayof the model. How to specify the
 field and FieldAssoc.

 Another bit confusing me after reading some tutorials is how to set a
 default language for the behavior. I mean: is there a CakePHP setting
 for this or you must set one of your own?.

 Thanks.

 --
 Fran Iglesias
 [EMAIL PROTECTED]

--~--~-~--~~~---~--~~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: Some doubts with Dynamic Content Localization

2008-03-06 Thread Fran Iglesias


El 06/03/2008, a las 9:57, ninjapiza escribió:

 What's your question about your doubt is with associated models ?

I don't know if the translate behavior is able to retrieve  
translations for the associated models. And if so, how?

 Another bit confusing me after reading some tutorials is how to set a
 default language for the behavior. I mean: is there a CakePHP setting
 for this or you must set one of your own?.


For this, I found that Config.language is the key in Configure.

--
Fran Iglesias
[EMAIL PROTECTED]





--~--~-~--~~~---~--~~
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]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---