You are here

function _locale_admin_export_screen in Drupal 5

Same name and namespace in other branches
  1. 4 includes/locale.inc \_locale_admin_export_screen()

User interface for the translation export screen

1 call to _locale_admin_export_screen()
locale_admin_export in modules/locale/locale.module
Page handler for the translation export screen

File

includes/locale.inc, line 325
Admin-related functions for locale.module.

Code

function _locale_admin_export_screen() {
  $languages = locale_supported_languages(FALSE, TRUE);
  $languages = array_map('t', $languages['name']);
  unset($languages['en']);
  $output = '';

  // Offer language specific export if any language is set up
  if (count($languages)) {
    $output = drupal_get_form('_locale_export_po_form', $languages);
  }
  $output .= drupal_get_form('_locale_export_pot_form');
  return $output;
}