There is no more sfDoctrineI18n in the plugin.

I think you needs to use the native I18n doctrine supports described
here : 
http://phpdoctrine.net/index.php/documentation/manual?chapter=plugins#internationalization-with-i18n
With the new doctrine yml syntax :
http://phpdoctrine.net/index.php/documentation/manual?chapter=schema-files

But it's a bit different from symfony, it doesn't use autoloading of
i18n objects and you need to make specifics requests with the indexBy
lang.

In the bd, it use a "lang" column instead of "culture".

I hope it'll help you

Mick

On 25 oct, 13:16, Andreas Stephan <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> while doing the mirgration to the new doctrine plugin, I also noticed,
> that the i18n table creation via pake task does not work anymore:
>
> The old yml syntax to create an i18n Table was like this:
>
> Countries:
>   tableName: country
>   i18n:
>     class: CountriesI18n
>     cultureField: culture
>   columns:
>     country_code:
>       type: string
>       length: 2
>
> CountriesI18n:
>   tableName: country_i18n
>   columns:
>     name:
>       type: string
>       length: 255
>
> With the new version, doctrine does not recognize the i18n relation
> anymore and treats the i18n table as if it was a normal table (does
> not create a culture filed, uses "ID"-field with auto increment and no
> foreign key relation)
>
> When digging the doctrine documentation I found that Doctrine natively
> supports i18n tables by using "actAs". Could I model this manually and
> if so, how to make it work ? Or is this just a bug?


--~--~---------~--~----~------------~-------~--~----~
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