3

I have installed the Internalization module and after that edit the Main menu setting and select the translate and locale.

and add translate as per menu item. But when I switch the language its all the menu item still shows in english

Have a look I have only these options:

enter image description here

enter image description here

3

Below is how I resolved this before, for a multilingual D7 site with menus in multiple languages. In this case for the "main menu", but you can do this for any menu.

Step 1

Use a single "main menu" that contains all menu items for all languages, so not 1 main menu for only EN menu items and another main menu for only (e.g) FR menu items.

Step 2

Configure the multilingual options of the menu via the Menus administration page and follow the "edit menu" link to the menu in question. For the Main menu that would be admin/structure/menu/manage/main-menu/edit.

For "Translation Mode", use the option "Translate and Localize". So that menu items with language will allow translations, and menu items without language will be localized.

Step 3

Add the links for any of your languages to the single menu, but make sure to specify for each of these links for which specific language you want the link to be shown. Or as an alternative, if you have menu items that should be shown for all languages, make sure such link is marked as "Language Neutral".

Summary

For any language the very only (single) "Main menu" is shown. However based on the selected language, only those menu items in it will be shown that match the selected language.

Not sure if it is the best/most elegant way to make this work, but IMHO it works like a charm ...

| improve this answer | |
  • I did same but when I click on hindi only the content change in hindi language but the menu name remain same in English see the screen shot – Nisha Garg Mar 2 '17 at 4:44
0

enter image description here

Did you check those checkboxes? This screen you will find at this URL admin/config/regional/language/configure

Please checked those option after you need to create a menu in both languages like create menu in a single language after using translate tab translate it.

When you check your site in your language, Please check that language postfix is added in URL Like(/en = English, /de = German)

| improve this answer | |
  • Please see the edit question I have attached the screen shot – Nisha Garg Mar 2 '17 at 4:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.