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