I'm really struggling with this one. My backend changes language when
I change language on the frontend. I don't want those two sites to
affect each other at all.

I'm using the automatic hydration of I18n objects in the model:

    public function hydrate(ResultSet $rs, $startcol = 1)
    {
        $this->setCulture(sfContext::getInstance()->getUser()-
>getCulture());
        return parent::hydrate($rs, $startcol);
    }

It seems like the call to sfContext::getInstance()->getUser()-
>getCulture() changes in the admin when I change language on the
frontend.

Is there a way I can set the language on the two sites independently?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to