library/Garp/Model/Behavior/Translatable.php
protected function _extractDataForLanguage($language, Garp_Model_Db $model) {
        $localizedData = array_filter($this->_queue, 'is_array');
        $out = array();
        foreach ($localizedData as $key => $value) {
            if (array_key_exists($language, $value)) {
                $out[$key] = $value[$language];
            }
        }
        return $out;
    }
protected function _extractDataForLanguage($language, Garp_Model_Db $model) {
        $localizedData = array_filter($this->_queue, 'is_array');
        $out = array();
        foreach ($localizedData as $key => $value) {
            if (array_key_exists($language, $value)) {
                $out[$key] = $value[$language];
            }
        }
        return $out;
    }
protected function _extractDataForLanguage ( $ language , Garp_Model_Db $ model ) { $ localizedData = array_filter ( $ this -> _queue , 'is_array' ) ; $ out = array ( ) ; foreach ( $ localizedData as $ key => $ value ) { if ( array_key_exists ( $ language , $ value ) ) { $ out [ $ key ] = $ value [ $ language ] ; } } return $ out ; }
Make a regular insertable data array from the localized version we saved.

@param string $language
@param Garp_Model_Db $model
@return array
Make a regular insertable data array from the localized version we saved .