You are here

function locale_translate_export_screen in Drupal 6

Same name and namespace in other branches
  1. 7 modules/locale/locale.admin.inc \locale_translate_export_screen()

User interface for the translation export screen.

Related topics

1 string reference to 'locale_translate_export_screen'
locale_menu in modules/locale/locale.module
Implementation of hook_menu().

File

includes/locale.inc, line 704
Administration functions for locale.module.

Code

function locale_translate_export_screen() {

  // Get all languages, except English
  $names = locale_language_list('name', TRUE);
  unset($names['en']);
  $output = '';

  // Offer translation export if any language is set up.
  if (count($names)) {
    $output = drupal_get_form('locale_translate_export_po_form', $names);
  }
  $output .= drupal_get_form('locale_translate_export_pot_form');
  return $output;
}