User Tools

Site Tools


uRapidFlow i18n

If you're working in multilanguage environment, and running uRapidFlow scripts from cron or command line interface, Magento might not set the correct default language before importing or exporting your profiles, and as result the files will have troubles to be imported/exported.

Add these few lines to make sure your uRapidFlow profile runs with the correct language:

// initialize Magento environment
include_once 'app/Mage.php';
// initialize your language
Mage::app()->getTranslator()->init('global', true);
Mage::app()->getTranslator()->init('adminhtml', true);
$helper = Mage::helper('urapidflow');
// run profile using name:
$helper->run("Import Products - nl_NL profile");
urapidflow/i18n.txt · by unirgy