function 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
Implements hook_menu().

File

modules/locale/locale.admin.inc, line 1018

Code

function locale_translate_export_screen() {
    // Get all languages, except English
    drupal_static_reset('language_list');
    $names = locale_language_list('name');
    unset($names['en']);
    $output = '';
    // Offer translation export if any language is set up.
    if (count($names)) {
        $elements = drupal_get_form('locale_translate_export_po_form', $names);
        $output = drupal_render($elements);
    }
    $elements = drupal_get_form('locale_translate_export_pot_form');
    $output .= drupal_render($elements);
    return $output;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.