function i18n_help in Internationalization 6
Same name and namespace in other branches
- 5.3 i18n.module \i18n_help()
- 5 i18n.module \i18n_help()
- 5.2 i18n.module \i18n_help()
- 7 i18n.module \i18n_help()
Implementation of hook_help().
File
- ./
i18n.module, line 97 - Internationalization (i18n) module.
Code
function i18n_help($path = 'admin/help#i18n', $arg) {
switch ($path) {
case 'admin/help#i18n':
$output = '<p>' . t('This module improves support for multilingual content in Drupal sites:') . '</p>';
$output .= '<ul>';
$output .= '<li>' . t('Shows content depending on page language.') . '</li>';
$output .= '<li>' . t('Handles multilingual variables.') . '</li>';
$output .= '<li>' . t('Extended language option for chosen content types. For these content types transations will be allowed for all defined languages, not only for enabled ones.') . '</li>';
$output .= '<li>' . t('Provides a block for language selection and two theme functions: <em>i18n_flags</em> and <em>i18n_links</em>.') . '</li>';
$output .= '</ul>';
$output .= '<p>' . t('This is the base module for several others adding different features:') . '</p>';
$output .= '<ul>';
$output .= '<li>' . t('Multilingual menu items.') . '</li>';
$output .= '<li>' . t('Multilingual taxonomy adds a language field for taxonomy vocabularies and terms.') . '</li>';
$output .= '</ul>';
$output .= '<p>' . t('For more information, see the online handbook entry for <a href="@i18n">Internationalization module</a>.', array(
'@i18n' => 'http://drupal.org/node/133977',
)) . '</p>';
return $output;
case 'admin/settings/language/i18n':
$output = '<ul>';
$output .= '<li>' . t('To enable multilingual support for specific content types go to <a href="@configure_content_types">configure content types</a>.', array(
'@configure_content_types' => url('admin/content/types'),
)) . '</li>';
$output .= '</ul>';
return $output;
}
}