Hi!

Sorry, I was not notified about comments on this post. If you want to
contact me drop a comment on the web site.

Yes, my idea is to keep translations in the same table as additional
fields, e.g we have a name property to be localizable, then we add
name_eng, name_rus etc. fields to the table and add i18n behavior to
the model. That's it. Follow the error messages and remember code
comments are your friends. :)

Behavior will localize fields during recursive find queries for all
relations including HABTM. That was the main goal to me while I was
writing the behavior.

Please update the code, because I've found few bugs since first post
version. Current version looks ok to me and works well to localize
about 10 models with recursion down to 3. Relations include HABTM.

Hope this helps.

Regards,
Rostislav

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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