protected function searchDefaultTranslate()
    {
        // call in: loadInternalData()
        if ($this->searchContent) {
            $this->listAllDefaultTranslate = $this->searchContent->getList();

            if ($this->dictionary && $this->listAllDefaultTranslate) {
                // if define dictionary
                foreach ($this->listAllDefaultTranslate as $identification => $item) {
                    if ($item['type'] == 'translation') {
                        $message = $item['value'];
                        // save only not exist identification and only string message or identification is same like dictionary index (default translate)
//                        if ((!isset($this->dictionary[$identification]) && !is_array($message)) || $this->dictionary[$identification] == $identification) {
                        if (!isset($this->dictionary[$identification]) || $this->dictionary[$identification] == $identification) {
                            // call only save default value load from files
                            $this->saveTranslate($identification, $message);
                        }
                    }
                }
            }
        }
    }
protected function searchDefaultTranslate()
    {
        // call in: loadInternalData()
        if ($this->searchContent) {
            $this->listAllDefaultTranslate = $this->searchContent->getList();

            if ($this->dictionary && $this->listAllDefaultTranslate) {
                // if define dictionary
                foreach ($this->listAllDefaultTranslate as $identification => $item) {
                    if ($item['type'] == 'translation') {
                        $message = $item['value'];
                        // save only not exist identification and only string message or identification is same like dictionary index (default translate)
//                        if ((!isset($this->dictionary[$identification]) && !is_array($message)) || $this->dictionary[$identification] == $identification) {
                        if (!isset($this->dictionary[$identification]) || $this->dictionary[$identification] == $identification) {
                            // call only save default value load from files
                            $this->saveTranslate($identification, $message);
                        }
                    }
                }
            }
        }
    }
protected function searchDefaultTranslate ( ) { // call in: loadInternalData() if ( $ this -> searchContent ) { $ this -> listAllDefaultTranslate = $ this -> searchContent -> getList ( ) ; if ( $ this -> dictionary && $ this -> listAllDefaultTranslate ) { // if define dictionary foreach ( $ this -> listAllDefaultTranslate as $ identification => $ item ) { if ( $ item [ 'type' ] == 'translation' ) { $ message = $ item [ 'value' ] ; // save only not exist identification and only string message or identification is same like dictionary index (default translate) //                        if ((!isset($this->dictionary[$identification]) && !is_array($message)) || $this->dictionary[$identification] == $identification) { if ( ! isset ( $ this -> dictionary [ $ identification ] ) || $ this -> dictionary [ $ identification ] == $ identification ) { // call only save default value load from files $ this -> saveTranslate ( $ identification , $ message ) ; } } } } } }
Search default translate.

@internal
Search default translate .