hello
thanks thanks a lot for your generous work in this module.
i have been reading tutorials and documentation and i was able to make it work in all but in menus.
i dont find a way or an explanation on how to do it.
sorry for my bad english, i am going to explain what i do and i think it would be nice if you put it in the documentation. (or if you answer here, i can do it).
i am working with drupal 7.8 and your last dev version.
i have a content type that in multilingual settings has only these 2 options selected: Require language (Do not allow Language Neutral) and Normal - All enabled languages will be allowed.
this content type has the main menu as menu to add nodes. this menu has: Translate and Localize. Menu items with language will allow translations. Menu items without language will be localized.
then i create a node and i add a menu item to the main menu.
i create a translation of this node in two other languages and also add a menu item to the main menu for each.
i go to the main menu and edit the first menu item.
i select to translate it in en/admin/structure/menu/item/xxx/translate
on the bottom of this page, i get:
Translations
Enter items that will be considered as translations of each other.
-----
there i have a select for each language but it is not populated.
if i switch to the spanish language
es/admin/structure/menu/item/xxx/translate
the spanish select gets populated and i can select the option and save.
the other selects wont get populated.
if i save, the spanish option gets saved as translation.
then if i go to other language and save, this language overrides the option selected in spanish and saves this language.
so i can only choose one language.
i am sure that i do something wrong in somewhere... so i ask, please, that you document or give tips on how to do it.... :)
thanks very much for this module that allows us to use drupal :)
Comments
Comment #1
candelas commentedi have chosen, in the User interface text language detection, the URL option (Determine the language from the URL (Path prefix or domain) with Path prefix.
Comment #2
candelas commented0.0
it looks that explaining to you helped to me :)
if i change in admin/config/regional/language/language_switcher from 'Only current language' to 'Selected languages from language block' the select in admin/structure/menu/item/xxx/translate are populated... and every thing works ok.
sometimes it is not easy to understand so many options to a foreigner... :)
thanks a lot for this useful tool!
Comment #3
candelas commentedi reopen the issue because the menus items work ok while they come from a node, but if you create directly the menu item (add a menu item in the menu) and then translate, they work ok in the user interface but they get duplicated in the select when you go to create a node.
i try to explain in an example since my english it is not very good.
if i create a node and in the node 'menu settings' i create a menu item and then translate, all works perfect.
if i create in the main menu an item and translate it, when i go to create a new node, in the menu settings select, it gets all the translations. i mean it gets duplicated while the other doesnt.
this happens with an external link or if you use Special Menu Items to make menu items without a link.
thanks a lot for your generous work :)
Comment #4
candelas commentedi think better i close this issue and open a new one with duplicate items.
sorry for not being used to this way of working.