Functions to create batches for importing translations.
These functions can be used to import translations for installed modules.
Functions & methods
| Name | Description |
|---|---|
| locale_batch_by_component | Prepare a batch to run when installing modules or enabling themes. |
| locale_batch_by_language | Prepare a batch to import translations for all enabled modules in a given language. |
| _locale_batch_build | Build a locale batch from an array of files. |
| _locale_batch_import | Perform interface translation import as a batch step. |
| _locale_batch_language_finished | Finished callback of language addition locale import batch. Inform the user of translation files imported. |
| _locale_batch_system_finished | Finished callback of system page locale import batch. Inform the user of translation files imported. |
File
- includes/
locale.inc, line 2174 - Administration functions for locale.module.