Forums / Developer / PHP content object translation / Comment51703
Carlos Revillo
Wednesday 02 September 2009 11:49:28 am
titre is the identifier for the attribute you have defined, but it's not part of the definition of the ezcontentobjectattribute_class.
supposing 'titre' as a ezstring datatype, you could try with
... $contentObjectAttributes[0]->setAttribute( 'data_text', 'TITLE ENGLISH'); $contentObjectAttributes[0]->store(); ...
hope it helps.