With Drupal core alone, user-defined menu items are not translatable. The Menu translation module, part of the Internationalization (i18n) package, allows users to select a translation mode for each menu (Figure 1).
The following modes are available:
- No Multilingual Options
- Translate and Localize
- Fixed Language
Translate and Localize Menus
For most use cases, and especially if the structure of your menus is consistent across languages, Translate and Localize is the preferred method of translating menus. You can create one menu for all languages, and translate or localize each menu item. There are two ways that menu items will be translated:
- You can set a language when creating a custom menu item so that the menu item will only show up for that language (Figure 1). Menu items that link to nodes in a particular language will be treated this way.
- You can localize other custom menu items without a language (for example, menu items linking to Views pages). Use the Translate tab to translate the menu item title and description (Figure 2). Translators can also use the 'Translate interface' pages to translate these menu items (Figure 3).
With Drupal 6 core alone, user-defined menu items are not translatable. The Menu translation (i18nmenu) module, part of the Internationalization (i18n) package, provides the following features:
- Allows setting a language when creating a custom menu item so that the menu item will only show up for that language.
- Localizes other custom menu items without language. It does this by adding a "Limit search to: Menu" option on the Search tab of the Translate interface at Administer > Site building > Translate interface.
A menu item linked to a node, due to how the menu system works and the 'Language selection' feature in the Internationalization module, will be displayed only when the node language matches the page language. The Menu translation module relies on theming and blocks for displaying the right links for each case. Thus for uses different than displaying the menu in a block, it may not always work.
About primary / secondary links
This is a special case, as they're basically menus that can be displayed as a block but aren't always. Most of the themes display them directly instead of using a block so, for this case, the Internationalization module's multilingual menu items features won't work.Read more
This is a complete manual and step-by-step guide for building multilingual websites with Drupal and the Internationalization (i18n) package.
Drupal 7.x has some built-in multilingual support to provide a localized user interface and translatable content. However, not everything is yet localizable/translatable. This package tries to fill the gaps that still exist. A few of the important features which the Internationalization package provides are:
- A proper multilingual menu system
- Multilingual blocks
- Multilingual taxonomy
The features of the Internationalization package are broken into submodules, which are documented in the submodules section of this manual. You should generally not enable all of the Internationalization package submodules but, instead, enable them as you need them.