Skip to content
Snippets Groups Projects
Commit 9abacc9f authored by Angie Byron's avatar Angie Byron
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
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
...@@ -728,6 +728,8 @@ function st($string, array $args = array(), array $options = array()) { ...@@ -728,6 +728,8 @@ function st($string, array $args = array(), array $options = array()) {
// that multiple files end with the same extension, even if unlikely. // that multiple files end with the same extension, even if unlikely.
$files = install_find_translation_files($install_state['parameters']['langcode']); $files = install_find_translation_files($install_state['parameters']['langcode']);
if (!empty($files)) { 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'; require_once DRUPAL_ROOT . '/core/includes/gettext.inc';
foreach ($files as $file) { foreach ($files as $file) {
_locale_import_read_po('mem-store', $file); _locale_import_read_po('mem-store', $file);
......
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