1 install.core.inc install_import_translations_remaining(&$install_state)

Installation task; finish importing files at end of installation.

@todo This currently does the same as the first import step. Need to revisit once we have l10n_update functionality integrated. See http://drupal.org/node/1191488.

Parameters

array $install_state: An array of information about the current installation state.

Return value

The batch definition, if there are language files to import.:

File

core/includes/install.core.inc, line 2067
API functions for installing Backdrop.

Code

function install_import_translations_remaining(&$install_state) {
  include_once backdrop_get_path('module', 'locale') . '/locale.bulk.inc';
  return locale_translate_batch_import_files($install_state['parameters']['langcode']);
}