Update all i18n fields from an action?

You didn't say which ORM you're using so I assumed Doctrine You can update/set internationalized fields in the following way: $thing = new Thing(); $thing->Translation'en'->label = 'My Label'; $thing->Translation'nl'->label = 'Mijn Label'; $thing->save() Of course if your object is already persisted you have to retrieve it first Read more in symfony and doctrine docs: symfony-project.org/jobeet/1_4/Doctrine/... doctrine-project.org/projects/orm/1.2/do....

You didn't say which ORM you're using so I assumed Doctrine. You can update/set internationalized fields in the following way: $thing = new Thing(); $thing->Translation'en'->label = 'My Label'; $thing->Translation'nl'->label = 'Mijn Label'; $thing->save(); Of course if your object is already persisted you have to retrieve it first. Read more in symfony and doctrine docs: symfony-project.org/jobeet/1_4/Doctrine/... doctrine-project.org/projects/orm/1.2/do....

Yes, sorry I'm using Doctrine. This seems to work, thank you :) – Guillaume Flandre Sep 3 '10 at 10:36.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions