You are here

function i18n_help in Internationalization 5

Same name and namespace in other branches
  1. 5.3 i18n.module \i18n_help()
  2. 5.2 i18n.module \i18n_help()
  3. 6 i18n.module \i18n_help()
  4. 7 i18n.module \i18n_help()

Implementation of hook_help().

File

./i18n.module, line 106
Internationalization (i18n) module

Code

function i18n_help($section = 'admin/help#i18n') {
  switch ($section) {
    case 'admin/help#i18n':
      $output = '<p>' . t('This module provides support for multilingual content in Drupal sites:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('Translation of the user interface for anonymous users (combined with locale)') . '</li>';
      $output .= '<li>' . t('Multi-language for content. Adds a language field for nodes and taxonomy vocabularies and terms') . '</li>';
      $output .= '<li>' . t('Browser language detection') . '</li>';
      $output .= '<li>' . t('Keeps the language setting accross consecutive requests using URL rewriting') . '</li>';
      $output .= '<li>' . t('Provides a block for language selection and two theme functions: <i>i18n_flags</i> and <i>i18n_links</i>') . '</li>';
      $output .= '<li>' . t('Support for long locale names') . '</li>';
      $output .= '<li>' . t('Multilingual menu items') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('For more information please read the <a href="@i18n">on-line help pages</a>.', array(
        '@i18n' => 'http://drupal.org/node/31631',
      )) . '</p>';
      return $output;
    case 'admin/settings/i18n':
      $output .= '<p>' . t('To enable multilingual support for specific content types go to !configure_content_types.', array(
        '!configure_content_types' => l(t('configure content types'), 'admin/content/types'),
      )) . '</p>';
      return $output;
  }
}