private function ReadTranslations()
    {
        if (isset($this->translations[$this->language])) {
            return;
        }
        $this->translations[$this->language] = array();
        foreach ($this->basePaths as $basePath) {
            $handle = @fopen($this->LanguageCsvFile($basePath), 'r');
            if (!$handle) {
                return;
            }
            while ($line = fgetcsv($handle, 0, $this->delimiter, $this->enclosure)) {
                $this->ReadCsvLine($line);
            }
        }
    }
private function ReadTranslations()
    {
        if (isset($this->translations[$this->language])) {
            return;
        }
        $this->translations[$this->language] = array();
        foreach ($this->basePaths as $basePath) {
            $handle = @fopen($this->LanguageCsvFile($basePath), 'r');
            if (!$handle) {
                return;
            }
            while ($line = fgetcsv($handle, 0, $this->delimiter, $this->enclosure)) {
                $this->ReadCsvLine($line);
            }
        }
    }
private function ReadTranslations ( ) { if ( isset ( $ this -> translations [ $ this -> language ] ) ) { return ; } $ this -> translations [ $ this -> language ] = array ( ) ; foreach ( $ this -> basePaths as $ basePath ) { $ handle = @ fopen ( $ this -> LanguageCsvFile ( $ basePath ) , 'r' ) ; if ( ! $ handle ) { return ; } while ( $ line = fgetcsv ( $ handle , 0 , $ this -> delimiter , $ this -> enclosure ) ) { $ this -> ReadCsvLine ( $ line ) ; } } }
Reads translations from language file if not already done
@param type $language
@return type
Reads translations from language file if not already done