[TYPO3-mvc] How to localize Extbase projects in cli mode

Dominik Stankowski dominik at web-essentials.asia
Thu Sep 15 17:22:02 CEST 2011


Hi everyone

We are using Extbase persistence to import data from an external 
database (cf. Zach's blog for a nice walk-through reference [1]).

Extbase persistence is neat, because we work directly with the objects 
and do not need to worry if a newly imported database record was updated 
or added. It makes importer scripts extremely simple.

But how should we proceed with multi-lingual records in cli mode? Is it 
possible to localize an Extbase object to another language (e.g. 
$modelObj->localize())?

Or do we need to run the cli environment several times with different 
language settings (e.g. with a user with different user language)?

Thank you in advance for any ideas.

Cheers,
Dominik

[1] 
http://castironcoding.com/resources/our-blog/sp/view/single/post/reason-10-for-choosing-typo3-extbase-scheduler-win.html 



More information about the TYPO3-project-typo3v4mvc mailing list