public function buildLanguageFileName($lang, $db_filename = null)
    {
        if (empty($db_filename)) {
            $db_filename = $this->getParsedOption('language_strings_db_filename');
        }
        $filename = pathinfo($db_filename,  PATHINFO_FILENAME);
        return $this->getParsedOption('language_filename', array($filename, $lang));
    }
public function buildLanguageFileName($lang, $db_filename = null)
    {
        if (empty($db_filename)) {
            $db_filename = $this->getParsedOption('language_strings_db_filename');
        }
        $filename = pathinfo($db_filename,  PATHINFO_FILENAME);
        return $this->getParsedOption('language_filename', array($filename, $lang));
    }
public function buildLanguageFileName ( $ lang , $ db_filename = null ) { if ( empty ( $ db_filename ) ) { $ db_filename = $ this -> getParsedOption ( 'language_strings_db_filename' ) ; } $ filename = pathinfo ( $ db_filename , PATHINFO_FILENAME ) ; return $ this -> getParsedOption ( 'language_filename' , array ( $ filename , $ lang ) ) ; }
Build the file name for the language database

@param   string  $lang           The language code to use
@param   string  $db_filename    A base filename to use
@return  string  The file name for the concerned language
Build the file name for the language database