function locale_translation_status

Page callback: Display the current translation status.

See also

locale_menu()

5 string references to 'locale_translation_status'
LocaleCompareTest::testCompareCheckLocal in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php
Checks if local or remote translation sources are detected.
locale_menu in drupal/core/modules/locale/locale.module
Implements hook_menu().
locale_translation_batch_status_compare in drupal/core/modules/locale/locale.batch.inc
Batch operation callback: Compare states and store the result.
locale_translation_check_projects_local in drupal/core/modules/locale/locale.compare.inc
Check and store the status and timestamp of local po files.
locale_translation_clear_status in drupal/core/modules/locale/locale.module
Clear the translation status cache.

File

drupal/core/modules/locale/locale.pages.inc, line 474
Interface translation summary, editing and deletion user interfaces.

Code

function locale_translation_status() {
  $languages = locale_translatable_language_list();
  if (!$languages) {
    drupal_set_message(t('No translatable languages available. <a href="@add_lanuage">Add language</a> first.', array(
      '@add_lanuage' => url('admin/config/regional/language'),
    )), 'warning');
  }

  // @todo Calculate and display the translation status here. See the follow-up
  // issue for translation interface: http://drupal.org/node/1804702
  return 'TODO: Show the translation status here';
}