library/Garp/Cli/Command/I18n.php
public function populateLocalizedRecords(array $args = array()) {
        Zend_Registry::get('CacheFrontend')->setOption('caching', false);
        $mem = new Garp_Util_Memory();
        $mem->useHighMemory();

        $models = !empty($args) ? array($args[0]) : $this->_getInternationalizedModels();
        array_walk($models, array($this, '_populateRecordsForModel'));

        Zend_Registry::get('CacheFrontend')->setOption('caching', true);
        Garp_Cache_Manager::purge();

        Garp_Cli::lineOut('Done.');
        return true;
    }
public function populateLocalizedRecords(array $args = array()) {
        Zend_Registry::get('CacheFrontend')->setOption('caching', false);
        $mem = new Garp_Util_Memory();
        $mem->useHighMemory();

        $models = !empty($args) ? array($args[0]) : $this->_getInternationalizedModels();
        array_walk($models, array($this, '_populateRecordsForModel'));

        Zend_Registry::get('CacheFrontend')->setOption('caching', true);
        Garp_Cache_Manager::purge();

        Garp_Cli::lineOut('Done.');
        return true;
    }
public function populateLocalizedRecords ( array $ args = array ( ) ) { Zend_Registry :: get ( 'CacheFrontend' ) -> setOption ( 'caching' , false ) ; $ mem = new Garp_Util_Memory ( ) ; $ mem -> useHighMemory ( ) ; $ models = ! empty ( $ args ) ? array ( $ args [ 0 ] ) : $ this -> _getInternationalizedModels ( ) ; array_walk ( $ models , array ( $ this , '_populateRecordsForModel' ) ) ; Zend_Registry :: get ( 'CacheFrontend' ) -> setOption ( 'caching' , true ) ; Garp_Cache_Manager :: purge ( ) ; Garp_Cli :: lineOut ( 'Done.' ) ; return true ; }
This updates your database to be compliant with the refactored Translatable behavior.
I18n views no longer use fallbacks to the default language records.
Therefore an update to existing databases is necessary. This command populates records in
non-default languages to provide the data that used to be fallen back on.

@param array $args
@return bool
This updates your database to be compliant with the refactored Translatable behavior . I18n views no longer use fallbacks to the default language records . Therefore an update to existing databases is necessary . This command populates records in non - default languages to provide the data that used to be fallen back on .