Forums / Developer / How to create content objects in other than the default language

How to create content objects in other than the default language

Author Message

Thomas Negeli

Wednesday 28 April 2010 4:04:36 am

How can I create a content object in other than the default language of the siteaccess?

I use createAndPublishObject from eZContentFunctions to create the objects. This works, but if I want to translate such an object afterwards, how to do this?

I tried createNewVersionIn(...) to do this, but it didn' work.

Is this the right way to translate an object to another than the current language?

Any advice would be cool.

Thanks.