You are here

function i18n_menu_help in Internationalization 7

Implements hook_help().

File

i18n_menu/i18n_menu.module, line 338
Internationalization (i18n) submodule: Menu translation.

Code

function i18n_menu_help($path, $arg) {
  switch ($path) {
    case 'admin/help#i18n_menu':
      $output = '<p>' . t('This module adds support for multilingual menus. You can setup multilingual options for each menu:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('Menus can be fully multilingual with translatable (or localized) menu items.') . '</li>';
      $output .= '<li>' . t('Menus can be configured to have a fixed language. All menu items share this language setting and the menu will be visible in that language only.') . '</li>';
      $output .= '<li>' . t('Menus can also be configured to have no translations.') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('The multilingual options of a menu must be configured before individual menu items can be translated. Go to the <a href="@menu-admin">Menus administration page</a> and follow the "edit menu" link to the menu in question.', array(
        '@menu-admin' => url('admin/structure/menu'),
      )) . '</p>';
      $output .= '<p>' . t('To search and translate strings, use the <a href="@translate-interface">translation interface</a> pages.', array(
        '@translate-interface' => url('admin/config/regional/translate'),
      )) . '</p>';
      return $output;
    case 'admin/config/regional/i18n':
      $output = '<p>' . t('Menus and menu items can be translated on the <a href="@configure_menus">Menu administration page</a>.', array(
        '@configure_menus' => url('admin/structure/menu'),
      )) . '</p>';
      return $output;
  }
}