You are here

function i18nmenu_help in Internationalization 6

Same name and namespace in other branches
  1. 5.3 contrib/i18nmenu.module \i18nmenu_help()
  2. 5 contrib/i18nmenu.module \i18nmenu_help()
  3. 5.2 contrib/i18nmenu.module \i18nmenu_help()

Implementation of hook_help().

File

i18nmenu/i18nmenu.module, line 82
Internationalization (i18n) submodule: Menu translation.

Code

function i18nmenu_help($path, $arg) {
  switch ($path) {
    case 'admin/help#i18nmenu':
      $output = '<p>' . t('This module provides support for translatable custom menu items:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('Create menus as usual, with names in the default language, usually English. If the menu is already created, no changes are needed.') . '</li>';
      $output .= '<li>' . t('Optionally, you can set up a language for a menu item so it is only displayed for that language.') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('To search and translate strings, use the <a href="@translate-interface">translation interface</a> pages.', array(
        '@translate-interface' => url('admin/build/translate'),
      )) . '</p>';
      return $output;
  }
}