Home›Support›English Support›[Resolved] Menu only shows on original language front office, not the other.
[Resolved] Menu only shows on original language front office, not the other.
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was able to create a menu in the original language that appears on every language version of the site. However, when creating a new menu with new pages, it only appeared in the original language and not in other languages. The client was also unsure about the process of translating 'No translated' menu items and whether they needed to sync menus before translating them in the string translation section. Solution: We advised the client that they need to synchronize the menu first before translating 'No translated' items through the string translation page. This step is necessary to ensure that the new menu and its items appear across all language versions of the site and are available for translation in the string translation section.
If this solution doesn't seem relevant to your issue, please feel free to open a new support ticket with us.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
can you please post me the exact names of the menus?
I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. It would be better to a testing site where the issue is replicated.
You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
-Please make a backup of site files and database before providing us access.
-If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link
Hello and thank you for your answer. I kinda figured out why since I asked, but I would like to know if I could do something. If not, I'll give you access, if yes that could help others.
Let me explain :
- I've created a page (lets call it "My Page") in original language, english (EN).
- I've created a menu (EN) with this page in. Not custom link, real page.
- The page appears in the menu on the original language site, but not on the 2nd language YET, when I'm on the page (hidden link) I can click on the flag to go to 2nd language and it sends me to the 2nd language version of the page (ie: hidden link even though I didn't create it, which is normal since I've set wpml to show og version when translated one doesn't exist, which works fine as intended).
- To display the page in the 2nd language, I have to click on "Translation : + French" in the menu panel BUT to do so, I have to create french version of the page to be able to select it and add it in the menu (if not, it doesn't appear in the Pages panel in the Menu page).
My question is : since I can check "display original version of pages/posts/etc.. if not translated", why do I have to create a menu in other language to display these pages ? can I display og pages in the menu when there is no translation of them (and make sure they use the current language url like the flag does) ?
I think this is the setting (in the attachment) but I'm not sure, can you confirm this ?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
you can also create a fallback for the menus if you configure it, but I would not recommend it. The menu entry will need the page endpoint to load the specific ID.
Hi, I don't understand your answer.
I never created the french version of "My page", yet, it is available when I'm on the original version of it (hidden link) and click on the french flag that directs me to the "french" version (hidden link – see the /fr/ – which displays the content of the original version since I've set wpml to display original versions when translated one doesn't exist).
The menu though, doesn't display link to "french" pages since they don't exist. If I click on the item in my previous attachment's message, would it show the link even though the page doesn't exist (like the flag does) with the /fr/ added to the url ?
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
I never created the french version of "My page", yet, it is available when I'm on the original version of it (hidden link) and click on the french flag that directs me to the "french" version (hidden link – see the /fr/ – which displays the content of the original version since I've set wpml to display original versions when translated one doesn't exist).
Yes, it's this happens because of the language fallback, as you correctly summarized.
Oh ok, sorry I did not understand this at first because option 2 needs me to create the french versions of the pages at first (to be able to select them from the Page panel) and option 3 force me to translate all menus even if I want to translate just one..
Anyway, I'll try this, just one question though. In the example I send, the "No translated" items will have to be translated trough the string translation page, right ?
And if yes, Do I have to sync before translating them ? Because I don't see my Footer menu in the Domain list in the string translation section yet.