Automatic interface translation import

Functions to create batches for importing translations.

These functions can be used to import translations for installed modules.

File

includes/locale.inc, line 2224
Administration functions for locale.module.

Functions

Name Location Description
locale_batch_by_component includes/locale.inc Prepare a batch to run when installing modules or enabling themes.
locale_batch_by_language includes/locale.inc Prepare a batch to import translations for all enabled modules in a given language.
_locale_batch_build includes/locale.inc Build a locale batch from an array of files.
_locale_batch_import includes/locale.inc Implements callback_batch_operation().
_locale_batch_language_finished includes/locale.inc Implements callback_batch_finished().
_locale_batch_system_finished includes/locale.inc Implements callback_batch_finished().

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!locale.inc/group/locale-autoimport/7.x