private function getFileName($language)
    {
        if ($language === $this->baseLang) {
            return $this->baseDir . $this->pageName . '.js';
        } else {
            return $this->baseDir . $language . '/' . $this->pageName . '.js';
        }
    }
private function getFileName($language)
    {
        if ($language === $this->baseLang) {
            return $this->baseDir . $this->pageName . '.js';
        } else {
            return $this->baseDir . $language . '/' . $this->pageName . '.js';
        }
    }
private function getFileName ( $ language ) { if ( $ language === $ this -> baseLang ) { return $ this -> baseDir . $ this -> pageName . '.js' ; } else { return $ this -> baseDir . $ language . '/' . $ this -> pageName . '.js' ; } }
Returns the name of the file containing the texts.

@param $language
@return string
Returns the name of the file containing the texts .