Localization of main menu

mrhightech
Forums
Hello everyone, I am trying to setup up a multilingual site (French + English), but it looks to me like the main menu, in admin/structure is not localized. The Title used there will be used as-is. Is there any way to make it respond to the user's language ? Thanks!
Profile picture for user James Aparicio
James Aparicio

Hi mrhightech, 

Hi mrhightech, 

You should be able to translate it just by going to admin/config/regional/translate/translate and doing the translation as interface translation.

There are ofc other ways of translating the menu but that should be enough if the items you want to display are the same for english and french.

 

mrhightech

I'll try it out. Thanks for

I'll try it out. Thanks for the quick reply, James
mrhightech

Not working

Couple of things. In the menu editor, the text is "Home". In the final page layout, it's capitalized as "HOME". In the linked image, you can see that "Home" was already translated properly to "Accueil" but that is not shown in the left menu, still saying HOME. I was expecting "ACCUEIL" there. Thanks! http://picpaste.com/pics/Capture_du_2017-02-03_09-40-04-kMh8TJ0M.1486133472.png
mrhightech

Any suggestions?

Did I misunderstand anything? I feel I was checking in the right place... Please advise.
Profile picture for user James Aparicio
James Aparicio

Hi mrhightech,

Hi mrhightech,

Please do the folowing.

Go to the modules page and enable the menu translation module. Then go to the menu edition page admin/structure/menu/manage/main-menu/edit and select the second option of the translation settings and save.

Then go to the listing page admin/structure/menu/manage/main-menu and translate the items. If they are still not beeing translated, edit the menu item and save it without doing any change. After that translate it. 

 

Best regards

 

mrhightech

We're progressing!

Thanks James, I was able to activate the module and select the proper option for translations. However, when I get into the admin/structure/menu/manage/main-menu, clicking on the translate button gives me an "Access denied" I looked in the access rights and administrator has the rights to translation. There must be something else missing... what do you think?
Profile picture for user James Aparicio
James Aparicio

Hi mrhightech,

Hi mrhightech,

Did you select the second opiton in the translation settings at admin/structure/menu/manage/main-menu/edit and clicked save?

Also check that the link does not start with the language code ex: fr/admin/structure/menu/item/xxxx/translate. If it is try removing it.

Best regards

mrhightech

yes I did

a reload shows the selected option: Translate and Localize. Menu items with language will allow translations. Menu items without language will be localized. I also did a translation refresh, for good measure.
Profile picture for user James Aparicio
James Aparicio

Try clearing the cache. 

Try clearing the cache. 

Aslo try editing the menu item you want to translate and click on save without changing anything before clicking on translate.

BR

mrhightech

Looks like it's working

So thank you for your time :D