Automatic interface translation import

  1. 7.x drupal/includes/locale.inc locale-autoimport
  2. 6.x drupal/includes/locale.inc locale-autoimport

Functions to create batches for importing translations.

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

Functions

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

File

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