Forums / Developer / how to make a import-script importing several languages ?

how to make a import-script importing several languages ?

Author Message

Sven Anderson

Monday 19 July 2004 7:36:42 am

I wrote a script to import objects for a configured language.
Now I need to extend it, so more then one language can be imported with it.
I figured out that the object has to be created first in the standardlanguage before an other language can be added, but what functions do I have to use to add other languages ?

Björn [email protected]

Tuesday 27 July 2004 6:04:08 am

http://pubsvn.ez.no/doxygen

I have never done it, but my estimate is that you should try it by creating a new version and assigning a different language to it

eZContentObejct::setDefaultLanguage($lang)

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/