| 1 |
$Id:$
|
| 2 |
|
| 3 |
Description:
|
| 4 |
------------
|
| 5 |
This module provides a user friendly interface to translate menu items (requires i18n module).
|
| 6 |
From an end-user point of view, translating menu items is not really intuitive, and comes with some problems:
|
| 7 |
- Users have to remember the menu item string, use the 'Manage strings' tab in Localization, fill in the exact string (case sensitive), etc...
|
| 8 |
- If a new menu item is added, it might not even show up in the 'Manage strings' tab because it hasn't been called yet.
|
| 9 |
So users will need to visit a page containing the string first, in order to find it in the Locale system.
|
| 10 |
|
| 11 |
A lot of people have already complained about this problem, and sooner or later there will be a good solution built into Drupal.
|
| 12 |
Until then this module provides you with a more easy-to-use interface to translate your menus easily.
|
| 13 |
|
| 14 |
Technical information:
|
| 15 |
This module stores the menu translations in a separate table (menutranslation).
|
| 16 |
Whenever a menu item is updated, the cache_menu table is refreshed with the new menu item strings.
|
| 17 |
Apart from that, the built in menu caching of Drupal will be used, so there will be no performance loss.
|
| 18 |
|
| 19 |
Installation:
|
| 20 |
-------------
|
| 21 |
* Requirements before installation:
|
| 22 |
- Make sure you have the i18n module installed.
|
| 23 |
- Make sure that the i18nmenu module is disabled, as this module takes over the job.
|
| 24 |
- Make sure that the menuitems in the menus that you want to translate, don't have a language assigned. Make them language independent.
|
| 25 |
|
| 26 |
* Installation:
|
| 27 |
- Enable the menutranslation module in admin/build/modules.
|
| 28 |
- Configure the module at admin/settings/menutranslation: Here you can specify which menu(s) you want to translate.
|
| 29 |
- Configure the access control at admin/user/access.
|
| 30 |
You can specify which roles can perform the menu translations, and which roles can administer the settings.
|
| 31 |
- Go to Administer > Site Building > Menu and press tab 'Menu Translation' (admin/build/menu/menutranslation) to translate the menu(s) you specified.
|
| 32 |
The selected menu(s) are shown in tables, following the menu hierarchy, and provide a link to perform the translation.
|
| 33 |
|
| 34 |
Issues & Support:
|
| 35 |
-----------------
|
| 36 |
Please use the issue tracker at drupal.org to report any issues or ask for support:
|
| 37 |
http://drupal.org/menutranslation/issues
|
| 38 |
|
| 39 |
Credits:
|
| 40 |
--------
|
| 41 |
Parts of the code for this module was based on the i18nmenu.module by Jose A. Reyero.
|
| 42 |
Thanks to Jose for his great work on the i18n module.
|
| 43 |
|
| 44 |
Author:
|
| 45 |
--------
|
| 46 |
Sven Decabooter <sven@svendecabooter.be>
|