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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 X

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)