hi,

i'm using symfony 1.2.5 and have problems with internationalized
models in the backend.
i tried to reproduce te internationalization-paret of the jobeet-
tutorial at http://www.symfony-project.org/jobeet/1_2/Propel/en/19

i have the following schema:

# config/schema.yml
 category:
    _attributes:  { isI18N: true, i18nTable: category_i18n }
    id:           ~

 category_i18n:
    id:           { type: integer, required: true, primaryKey: true,
foreignTable: category, foreignReference: id }
    culture:    { isCulture: true, type: varchar, size: 7, required:
true, primaryKey: true }
    name:      { type: varchar(255), required: true }
    slug:        { type: varchar(255), required: true }

i then used
> php symfony propel:build-all
and
> php symfony propel:generate-admin backend Category --module=category

when i now go to http://myapp.local/backend_dev.php/category/new, i
only get an empty form where i can enter nothing, which is clear at
first glance, because the schema definition for the category just
defines the id attribute. but as far as i know symfony recognizes the
i18n-dependance and generates the related fields automagically, like
at 
http://www.symfony-project.org/jobeet/1_2/Propel/en/19#chapter_19_sub_admin_generator
do i need to  adjust generator.yml for this or did i overlook
something completely?

i hope, some can help.
regards, lowshoe

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

Reply via email to