all the strings from installer.php to allow multi-lang
installations.
/// Define the two or three major locations of language strings for this module
- if ($module == 'install') {
+ if (isset($CFG->running_installer)) {
+ $module = 'installer';
+ $filetocheck = 'installer.php';
$locations = array( $CFG->dirroot.'/install/lang/', $CFG->dataroot.'/lang/', $CFG->dirroot.'/lang/' );
+ $defaultlang = 'en_utf8';
} else {
$locations = array( $CFG->dataroot.'/lang/', $CFG->dirroot.'/lang/' );
}