private function getLang()
    {
        $path = $this->_config->get('langpath')
        .$this->_config->get('lang');

        if (file_exists($path.'/validation.php')) {
            $this->_lang = require_once $path.'/validation.php';
        } else {
            $this->_lang = require_once $this->_config->get('langpath').'/en_US/validation.php';
        }

        // Handle any custom language validation values
        // by parser
        $this->_parser = new ValidationParser($this->_lang, $this->_config->get('validation'));
    }
private function getLang()
    {
        $path = $this->_config->get('langpath')
        .$this->_config->get('lang');

        if (file_exists($path.'/validation.php')) {
            $this->_lang = require_once $path.'/validation.php';
        } else {
            $this->_lang = require_once $this->_config->get('langpath').'/en_US/validation.php';
        }

        // Handle any custom language validation values
        // by parser
        $this->_parser = new ValidationParser($this->_lang, $this->_config->get('validation'));
    }
private function getLang ( ) { $ path = $ this -> _config -> get ( 'langpath' ) . $ this -> _config -> get ( 'lang' ) ; if ( file_exists ( $ path . '/validation.php' ) ) { $ this -> _lang = require_once $ path . '/validation.php' ; } else { $ this -> _lang = require_once $ this -> _config -> get ( 'langpath' ) . '/en_US/validation.php' ; } // Handle any custom language validation values // by parser $ this -> _parser = new ValidationParser ( $ this -> _lang , $ this -> _config -> get ( 'validation' ) ) ; }
Gets the language pack.

@return void
Gets the language pack .