Skip to content
Snippets Groups Projects
Commit ed7a04af authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1757078 by julien, Gábor Hojtsy, LoMo, beejeebus: Fixed When installing...

Issue #1757078 by julien, Gábor Hojtsy, LoMo, beejeebus: Fixed When installing Drupal in a non-English language, we do not see the 'congratulations' page.
parent 1ca01c77
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -352,9 +352,14 @@ function locale_themes_enabled($themes) { ...@@ -352,9 +352,14 @@ function locale_themes_enabled($themes) {
* identified projects for the components. * identified projects for the components.
*/ */
function locale_system_update($components) { function locale_system_update($components) {
include_once drupal_get_path('module', 'locale') . '/locale.bulk.inc'; // Skip running the translation imports if in the installer,
if ($batch = locale_translate_batch_import_files(array(), TRUE)) { // because it would break out of the installer flow. We have
batch_set($batch); // built-in support for translation imports in the installer.
if (!drupal_installation_attempted()) {
include_once drupal_get_path('module', 'locale') . '/locale.bulk.inc';
if ($batch = locale_translate_batch_import_files(array(), TRUE)) {
batch_set($batch);
}
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment