Commit bc76d7f8 authored by catch's avatar catch

Issue #1297506 by alberto56: Fixed non-English installation: Call to undefined...

Issue #1297506 by alberto56: Fixed non-English installation: Call to undefined function _locale_import_read_po() in ../includes/install.inc on line 1113.
parent 256d8504
......@@ -1108,7 +1108,7 @@ function st($string, array $args = array(), array $options = array()) {
// that multiple files end with the same extension, even if unlikely.
$po_files = file_scan_directory('./profiles/' . $install_state['parameters']['profile'] . '/translations', '/'. $install_state['parameters']['locale'] .'\.po$/', array('recurse' => FALSE));
if (count($po_files)) {
require_once DRUPAL_ROOT . '/includes/locale.inc';
require_once DRUPAL_ROOT . '/includes/gettext.inc';
foreach ($po_files as $po_file) {
_locale_import_read_po('mem-store', $po_file);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment