/** * Load the module language file. * * @param string $language Language code * @param string $languagePath Path to the language file (optional) * @return boolean True on success, false otherwise */ protected function loadLanguage($language, $languagePath = null) { // In case no language path is given, prepare the module language path if (empty($languagePath)) { $languagePath = String::prepare(DIR_APP_MODULE_LANGUAGE, $this->module); } // Load the language file and return the result return parent::loadLanguage($language, $languagePath); }