* It should be logical that menu items identified as 'French' only appears when French is the selected language of the site, and the same for items identified as 'English' menu items. (As for now, both language are appearing in the menus).
* Also, since localizer is linking a node with its translations(ex: Node5 for english, Node79 for french, etc.), the menus should be providing the right node (Menu items cannot just be translated, they also need to point to the translated content which is in a different node). This is offered in SPIP, by example.
* Since they are many ways to generate menu items (via Administer>Menus , or via the 'Menu Setting' in the Node Edit form), any step-by-step guide existing for Localizer? The information provided with the Module doesn't indicate what is the correct way to translate the menus.
Thank you for your help! As bilinguism is required by our institution, the site can't be published until this is working correctly (and Drupal + Localizer can't be recommended for daily usage)
Comments
Comment #1
sylvain_a commentedBy the way, i'm using a customized version of FOLIAGE theme. Some previous posts were suggesting the bug was linked to the use of nonstandards Theme. Actually, the bug repeats itself in every core theme.
Comment #2
Roberto Gerola commented>It should be logical that menu items identified as 'French' only appears when French is the selected language of the site
No language is associated with a menu items.
Every menu items can have translations, and it appears in every language. This is how Drupal works.
If you need specific and different menus blocs for different languages, you can define different blocks
and make them visible only when the corresponding language is selected.
>the menus should be providing the right node
It is already so.
> The information provided with the Module doesn't indicate what is the correct way to translate the menus.
There is only one way, through the main menu edit interface.
>and Drupal + Localizer can't be recommended for daily usage
Do you think so ?
This is a partial list of websites that are using Drupal + Localizer : http://drupal.org/node/137248
Roberto
Comment #3
mcus21@drupal.cat commentedI had the same comprehension problem about menu localization and did not completely understand Roberto's comment either.
It's a little bit confusing when you try it for the first time...
You have to create a menu with several items, for the menu and for each item you can edit it again an select a language and press "change", then you can enter a new translated name and also a description for each item. The link is the same for all the languages and if is a node, localizer will show you the translated node.
It seems than in block configuration you can specify a language, but it does not work for menus.
Comment #4
Roberto Gerola commentedExample :
1. Create a page in English with the title : Hello - EN
2. Create a menu entry for this page with title : Hello , if you want assign an url alias to this page : en/hello
3. Click on tab translation and create the Italian translation : Hello - IT
If you want assign an url alias to this page : it/hello
4. Go under menu administration interface and select the menu item : Hello
5. Change the language with the top combo box to Italian
6. Translate the menu title to : Ciao
All the associations are made automatically by localizer.
Comment #5
sylvain_a commentedI'm back from vacation so i'm sorry for the delay in my answer.
I just wanted to say that it works correctly with your latest instructions.
Thank you very much for everything.
Comment #6
Roberto Gerola commentedComment #7
vikingew commentedSorry for opening this one again but I had some problems to get this right due to the instructions here having a awkward ordering and they also left out one important step which is easy to fall on when new to the module. So I have done a new step by step instruction based on Robertos and set this issue back to fixed. That way it will become visible for 2 weeks until drupal automatically set it to closed again (which hides it from most searches).
Example :
One thing I noticed though and this is particullary annoying if you already has some (english) menus set from start. If you now go back to the Menus interface to edit/create more multilang menus, the language selector is still (in this case) Italian and Path, Parent and Weight are disabled, even if the menu is english from start.
I haven't tested yet to create a completely new item, but I suspect it will still start out from the last language changed to, which in such case must be a bug or?
Comment #8
(not verified) commented