Commit 9abacc9f authored by webchick's avatar webchick
Browse files

Issue #1617598 by Gábor Hojtsy: Fixed When installing in ie Dutch notice...

Issue #1617598 by Gábor Hojtsy: Fixed When installing in ie Dutch notice appears about LOCALE_NOT_CUSTOMIZED.
parent 57ab8a54
......@@ -728,6 +728,8 @@ function st($string, array $args = array(), array $options = array()) {
// that multiple files end with the same extension, even if unlikely.
$files = install_find_translation_files($install_state['parameters']['langcode']);
if (!empty($files)) {
// Include cross-dependent code from locale module and gettext.inc.
require_once DRUPAL_ROOT . '/core/modules/locale/locale.module';
require_once DRUPAL_ROOT . '/core/includes/gettext.inc';
foreach ($files as $file) {
_locale_import_read_po('mem-store', $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