Hi,

i have this schema and fixtures:

|   sedi:
    _attributes:    {  isI18N:  true,  i18nTable:  sediI18n}
    id:             ~


  sediI18n:
    id:    {  type:  integer,  required:  true,  primaryKey:  true,  
foreignTable:  sedi,  foreignReference:  id}
    culture:  {  isCulture:  true,  type:  varchar,  size:  7,  required:  
true,  primaryKey:  true  }
    paese_indirizzo:    {  type:  varchar(6),  required:  true  }
    indirizzo:          {  type:  varchar(1024),  required:  true  }


Sedi:
  sede_roma_1:               {  }


SediI18n:
  sede_roma_1_italiano:               {  id:  sede_roma_1,  culture:  it,  
paese_indirizzo:  eu,  indirizzo:  "Ufficio di Roma 1 Testaccio Via Galvani, 17 Roma 
- 00153 Italia"  }
  sede_roma_1_francese:               {  id:  sede_roma_1,  culture:  fr,  
paese_indirizzo:  eu,  indirizzo:  "Rome Office 1: Testaccio Via Galvani, 17 Roma - 
00153 Italia"  }
|

I'm trying to show in a template only the sede in italian language ("Ufficio di Roma") but it shows also the sede in french language..

In that template I have write |var_dump($sf_user->getCulture())| and prints "it".

Any idea?

Regards

Javi

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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