Yes there are people using doctrine ;) Something you can do in your
BaseFormDoctrine.
So you can work have your form working !
public function getCulturesAvailable()
{
return sfConfig::get('app_cultures_available', array());
}
public function setup()
{
if($this->isI18n())
{
$this->embedI18n(array_keys($this->getCulturesAvailable()));
}
}
On Fri, Jul 3, 2009 at 11:24 AM, Matthias N. <
[email protected]> wrote:
>
> Sometimes I really wonder if there are people using Doctrine..!?
>
> See also my ticket for a workaround:
> http://trac.symfony-project.org/ticket/6736
>
>
> On 1 Jul., 21:22, "Matthias N." <[email protected]>
> wrote:
> > Hi,
> >
> > after updating a project to symfony 1.2 (SVN) with Doctrine I have a
> > stange thing here:
> >
> > In the admin generator modules I was able to display the current i18n
> > translation value by simply putting the i18n column in the display
> > array of the list config section. And it simply worked. I was able to
> > change the sf_culture and the list gave me the appropriate
> > translation.
> >
> > Now changing the sf_culture does not affect this anymore. I'm not sure
> > what is displayed now.. in my case it's always English but this is not
> > the default culture in this project -- probably it's the first
> > translation record that is displayed.. Feels like a bug somehow. :-(
> >
> > Can someone help?
> >
> > regards,
> > Matthias
> >
>
--
Thomas Rabaix
http://rabaix.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---