Automatic interface translation import

Functions

NameLocationDescription
locale_batch_by_componentincludes/locale.incPrepare a batch to run when installing modules or enabling themes. This batch will import translations for the newly added components in all the languages already set up on the site.
locale_batch_by_languageincludes/locale.incPrepare a batch to import translations for all enabled modules in a given language.
_locale_batch_buildincludes/locale.incBuild a locale batch from an array of files.
_locale_batch_importincludes/locale.incPerform interface translation import as a batch step.
_locale_batch_language_finishedincludes/locale.incFinished callback of language addition locale import batch. Inform the user of translation files imported.
_locale_batch_system_finishedincludes/locale.incFinished callback of system page locale import batch. Inform the user of translation files imported.
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.