Wednesday, August 25, 2010

Problem with behavior when Model belongsTo ModelWithTranslate (i18n)

Hello everyone, im having some difficulties using translate behavior
(i18n). Bellow is my scenario:

- I have two models User and UserType (User belongsTo UserType).
- UserType actAs Translate for column title

When i use UserType->find('all'), everything works fine and the result
is translated in the correct language.

But when i use User->find('all') the associated UserType model doesn't
come translated.

I believe this ticket is associated, but it was opened 3 years ago:
https://trac.cakephp.org/ticket/3680

How can i fix that? I'm using 1.3.3, isn't that implemented yet?

Thanks,
Leandro

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate