Пример #1
0
 /**
  * Load data from module translation files
  *
  * @param bool $forceReload
  * @return $this
  */
 protected function _loadModuleTranslation($forceReload = false)
 {
     foreach ($this->_moduleList->getModules() as $module) {
         $moduleFilePath = $this->_getModuleTranslationFile($module['name'], $this->getLocale());
         $this->_addData($this->_getFileData($moduleFilePath), false, $forceReload);
     }
     return $this;
 }