Page callback: Checks for translation updates and displays the translations status.
Manually checks the translation status without the use of cron.
function locale_translation_manual_status() {
module_load_include('compare.inc', 'locale');
// Check translation status of all translatable project in all languages.
// First we clear the cached list of projects. Although not strictly
// nescessary, this is helpfull in case the project list is out of sync.
locale_translation_flush_projects();
locale_translation_check_projects();
// Execute a batch if required. A batch is only used when remote files
// are checked.
if (batch_get()) {
batch_process('admin/reports/translations');
}
drupal_goto('admin/reports/translations');
}