calthas
04-11-2007, 09:14 AM
Ola.
I've downloaded and installed phpRaider RC today, and I've translated it to french (I can send the language file if you need). However, a small bug was preventing language selection from working.
in index.php:
<code>
39 if( $pConfig_language == '' )
40 $pConfig_language = 'english';
41
42 include_once( $pConfig_absolute_path . '/language/' . $pConfig_language.'.php' );
</code>
This is the fixed version; in the original one, $pConfig_lang was used, whereas the variable in config.php is named $pConfig_language. Changing here did it.
I had other issues with custom class names, especially with special characters in french (for instance d?moniste, pr?tre, etc), but I got them fixed as well. Should work correctly for other languages too btw.
I've downloaded and installed phpRaider RC today, and I've translated it to french (I can send the language file if you need). However, a small bug was preventing language selection from working.
in index.php:
<code>
39 if( $pConfig_language == '' )
40 $pConfig_language = 'english';
41
42 include_once( $pConfig_absolute_path . '/language/' . $pConfig_language.'.php' );
</code>
This is the fixed version; in the original one, $pConfig_lang was used, whereas the variable in config.php is named $pConfig_language. Changing here did it.
I had other issues with custom class names, especially with special characters in french (for instance d?moniste, pr?tre, etc), but I got them fixed as well. Should work correctly for other languages too btw.