Skip navigation
Help

Automatic interface translation import

  1. drupal
    1. 6 drupal/includes/locale.inc
    2. 7 drupal/includes/locale.inc

Functions to create batches for importing translations.

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

Functions & methods

NameDescription
locale_batch_by_componentPrepare a batch to run when installing modules or enabling themes.
locale_batch_by_languagePrepare a batch to import translations for all enabled modules in a given language.
_locale_batch_buildBuild a locale batch from an array of files.
_locale_batch_importPerform interface translation import as a batch step.
_locale_batch_language_finishedFinished callback of language addition locale import batch. Inform the user of translation files imported.
_locale_batch_system_finishedFinished callback of system page locale import batch. Inform the user of translation files imported.

File

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