1 locale.bulk.inc | locale_translate_add_language_set_batch($langcode) |
Set a batch for newly added language.
File
- core/
modules/ locale/ locale.bulk.inc, line 185 - Mass import-export and batch import functionality for Gettext .po files.
Code
function locale_translate_add_language_set_batch($langcode) {
// See if we have language files to import for the newly added language,
// collect and import them.
if ($batch = locale_translate_batch_import_files($langcode, TRUE)) {
batch_set($batch);
}
}