With Model::invalidate() method reload you do not have such problems at all.
On Jul 29, 12:17 am, tobi_one <[email protected]> wrote: > Hi, > > I am using __() internationalization in my model as described here: > > http://groups.google.com/group/cake-php/browse_thread/thread/fa32c81a... > > It works great, but there is one problem. I set the language of the > app in the beforefilter of the app_controller. Apparently the models > are loaded before this and so the models always return the default > language. > > Where do you guys set the language of the app? Especially if you are > using the __contruct method as mentioned in the post from above. > > Thanks! > > Cheers, > tobi_one --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
