Hello,
I'm working on website with 2 language , Everything is okay and I did not faced any problem, Only one problem with Primary links.
I have Primary links menu has 4 Item(Home, about us, sitemap, contact us)
The primary language is English.
I create the menu as follow,
1- I went to admin/build/menu-customize/primary-links
2- I Add the 4 items and choose from language drop down menu "All languages".
The 4 item liked to node expect the Home item which is liked to
After that I went to admin/build/translate to add translation to the interface, So I search for the 4 items and I enter the translation for all of them.
Now when I browse the site in the default language which is English, Everything show in the right way , but when I switch the language all the primary links disappear except the Home Link which is shown in the right way in the 2ed languages.
What I notice is that when the item linked to its show fine , but if the item liked to node for example node/15 , its just disappear when you switch the language .
Can anyone help and why this problem occur?
Thanks
Comments
I think when you switch
I think when you switch languages it will only show menu items that have translations in that language.
Try changing your content selection mode under admin/settings/language/i18n.
Try selection "Mixed current language (if available) or default language (if not) and language neutral."
hello thanks for reply My
hello
thanks for reply
My selection where "Only current language." at that selection nothing work , after I read your answer , I switch it to
"Mixed current language (if available) or default language (if not) and language neutral." also nothing work !
after that I switch it back to "Only current language." then everything work fine !!!
really that was strange.
Any idea ?
thanks
Problem back again !
Well, This time the problem back again , this time I fix it by editing the database it self !
I have Item in the menu name Sitemap , this item should shows in the English interface , but its shown in both , English/Arabic interface , to solve this problem went to Database table menu_links, then I change the value of router_path from node/18 to node/%
what that I dont know !
Also there is other Item which is Sitemap but in Arabic language shown in the site , and in the database but not in the admin/build/menu-customize/primary-links
That's really strange ... Anyone knows what is going on ? is this a bug or what ?
Thanks