W3cubDocs

/Drupal 8

locale.compare.inc

The API for comparing project translation status with available translation.

File

core/modules/locale/locale.compare.inc

Functions

Name Description
locale_translation_batch_status_build Builds a batch to get the status of remote and local translation files.
locale_translation_build_projects Builds list of projects and stores the result in the database.
locale_translation_check_projects Check for the latest release of project translations.
locale_translation_check_projects_batch Gets and stores the status and timestamp of remote po files.
locale_translation_check_projects_local Check and store the status and timestamp of local po files.
locale_translation_default_translation_server Retrieve data for default server.
locale_translation_flush_projects Clear the project data table.
locale_translation_project_list Fetch an array of projects for translation update.
_locale_translation_batch_status_operations Helper function to construct batch operations checking remote translation status.
_locale_translation_prepare_project_list Prepare module and theme data.

© 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/core!modules!locale!locale.compare.inc/8.1.x