This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to display the language switcher on the menu block of your site, but it only appears on the Uzbek language version and not on the main version. Solution: We recommend following these steps to resolve the issue: 1. Remove all the navigation menus except for the main one. Before doing this, make sure to duplicate the main menu for backup purposes. 2. In the menu editor, adjust the button and the language switcher settings to ensure they do not start on a new line. 3. Send the main menu for translation through WPML → Translation Management. 4. Translate the menu in WPML → Translations.
If this solution does not apply to your case, or if it seems outdated, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If issues persist, please open a new support ticket.
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.
Symptoms:
The language switcher does not show up on all language versions, only on the Uzbek version (not main).
Questions:
Why does the language switcher only appear on the Uzbek version of my site?
How can I make the language switcher appear on all language versions?
I migrate translation from polylang via the "Migrate Polylang to WPML" plugin. And also I checked tranlsation and save it manually. I have not just a language switcher on the menu block but actually menus per lanugages are also different, for example in the screenshots below you can see that in russian version of page there's no CTA button.
The menus' differences are not a problem. You need to ensure that the language switcher has been added to the menu in WPML → Languages and the page where you are viewing the menu is translated.
How did you add the language switcher? Could you also show me how you created your menus?
I did steps you mentioned. Language switcher is appered on English page but now I have next issues:
1. On English page Language switcher is on the separate space from menu;
2. On Russian page I have translated menu but no Language switcher and CTA button;
3. On Uzbek page I have 2 Language switchers and no translated menu.
If this is still the issue, I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it.
I believe there is a mix-up with the navigation menu template translations. Could you confirm that you took a backup and if I can install the Adminer plugin to access your database?
I managed to get it working, but first, I had to delete the other navigation menus since they weren't being used as far as I could see.
Here's what I did:
- I removed all the menus but made a duplicate of the main one first.
- I adjusted the button and the language switcher in the editor so that they don't start on a new line.
- I sent the menu for translation using WPML → Translation Management.
- I translated the menu in WPML → Translations.
Hi, Andrey
I see the issues with menus are resolved, great job, thank you very much for your assistance.
I see one more issue, I see that two blocks on main page (Certifications and Contact Us) has style issues on RU and UZ pages, can you also help fixing this issue?
New threads created by Andrey and linked to this one are listed below: