Imports translations when new modules or themes are installed.
This function will either import translation for the component change right away, or start a batch if more files need to be imported.
$components: An array of component (theme and/or module) names to import translations for.
function locale_system_update($components) {
include_once DRUPAL_ROOT . '/includes/locale.inc';
if ($batch = locale_batch_by_component($components)) {
batch_set($batch);
}
}