Hi,
I create 2 tables for translation:
  nationalite:
    _attributes: { phpName: Nationalite }
    id:
    code:         varchar(255)
    intitule:     varchar(255)
    blacklist:    boolean
    created_at:
  nationalite_i18n:
    _attributes: { phpName: NationaliteI18n }
    name:        varchar(50)


The problem is that i cant retreive Nationalite Object translations. The
solution i found is: je suis obligée de passer par l'objet NationaliteI18n :

    $n = NationaliteI18nPeer::retrieveByPk(1,'fr');

But this is not what i need, the objective is retreive Nationalite Object
through the user culture. How can i do it?

Thanks for help.


Ghizlane,

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