I have a site (Drupal 7.10) with Mongolian as default language and English enabled. Its temporary address is http://tur.fiable.biz .
- In admin/config/regional/i18n/select , "select nodes by language" is checked.
- In admin/config/regional/language/configure , URL (Path prefix), browser and default (in this order) are chosen as language selection methods.
- All pages are translated. Their source language in Mongolian.
- I added a menu called "Menu below", chose as translation mode "Translate and Localize. Menu items with language will allow translations. Menu items without language will be localized.", and added 3 English pages in this menu. The source language of that menu was automatically set to "English" and I couldn't find how to change this behaviour.
- In the "translate" tab of every menu item, for instance in /admin/structure/menu/item/556/translate , I chose as Mongolian translation the menu link title of the corresponding Mongolian page, thanks to the rolling list, and read "Enter items that will be considered as translations of each other.".
- I display the "Menu below" block in the "footer" region of a Zen sub-theme; in admin/structure/block/manage/menu/menu-below/configure , as block name I chose and in "languages", I checked "Make this block translatable" and checked no specific language. In the "Translate" tab, I read that the block source language is "English" and I translated the block (that is its title), which is probably useless.
Result: the English menu items appear in the English version of the pages, but the equivalent Mongolian ones don't appear in the Mongolian pages.
Expected result: the corresponding Mongolian items should show up in the Mongolian pages.
Maybe this is the expected result but, if so, it should be explained. After "Enter items that will be considered as translations of each other.", it should for instance be added "But note that these items translations will NOT be added automatically in any menu: you have to enter by hand all translations in all languages.". Moreover, if this behaviour is expected, there should be a synchronisation option enabling the webmaster to add to a menu all translations of any given item in one click.
Workaround: adding in the menu all the Mongolian pages path, one by one, and naming these items by hand according to the Mongolian pages "Menu link title".
Comments
Comment #1
Fiable.biz commentedIn my description above, after "as block name I chose", read "none" between brackets (The tag "none" isn't displayed in Drupal.org).
Comment #2
gerhard1176 commentedTry to uncheck "select nodes by language" (your first bullet point).
Comment #3
jose reyero commentedYes, try the solution #2.
The problem is menu items belonging to nodes are filtered out by i18n select.
If you want to use the same node for both languages, such node must have 'undefined' language.
Or if you want different nodes used as translations and linked in the menu, such nodes must have their own menu items.
Feel free to reopen if that is not your case.