Changed at 18 April 09 / 12:00
I found a working solution and I would like to know what you think? (work with FH_AUTO_DETECT_LANGUAGE true or false :) )
In class.FormHandler.php :
--- step one ---
Before "// set the language which formhandler supports" add :
// check if the language file exists
if( file_exists( FH_INCLUDE_DIR.'language/'.strtolower($l).'.php') )
{
// set the language
$this->setLanguage( $l );
$bSet = true;
break;
}
by :
// check if the language file exists
if( file_exists( FH_INCLUDE_DIR.'language/'.strtolower($l).$prefixeUTF8Language.'.php') )
{
// set the language
$this->setLanguage( $l.$prefixeUTF8Language );
$bSet = true;
break;
}
And use :
//change to TRUE for enable utf8 version of language file if exist
fh_conf('FH_UTF8_LANGUAGE', true);