Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Europe/Kyiv (GMT+02:00)

This topic contains 8 replies, has 0 voices.

Last updated by Andrey 3 hours, 37 minutes ago.

Assisted by: Andrey.

Author Posts
February 23, 2025 at 7:06 pm #16738522

akmaljonU

Background of the issue:
I'm trying to display the language switcher on the menu block of my site hidden link, but I can see it only on the Uzbek language version, not main. I am following the documentation provided by WPML: https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/ and https://wpml.org/forums/topic/language-switcher-does-not-show-up-in-one-of-the-language/#:~:text=Remove%20and%20re%2Dadd%20the,to%20a%20default%20WordPress%20theme.

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?

February 23, 2025 at 9:55 pm #16738696

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for contacting WPML support.

Please upload any relevant screenshots that would help illustrate the problem.

Have you fully translated your homepage into other languages?

February 24, 2025 at 9:15 am #16739530

akmaljonU

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.

tg_image_151906022.png
tg_image_3346128145.png
February 24, 2025 at 10:56 am #16740355

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

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?

February 24, 2025 at 1:54 pm #16741378

akmaljonU

Sure,
I use "Twenty Twenty-Four" theme so there's no menu tool on admin panel that's why I add menu though Edit site - Header - Navigation

tg_image_276010769.png
tg_image_569664889.png
tg_image_3998820710.png
tg_image_2738471929.png
February 24, 2025 at 3:43 pm #16741996

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your information and screenshots.

Have you tried to translate menus using WPML → Translation Management?

1. Go to WPML → Translation Management.

2. Select the template with the Navigation block and the menu you want to translate.

3. Choose a translation method and Translate.

But before, add the language switcher in the navigation block. I have attached the screens.

https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/#add-language-switcher-template

Menu-En-‹-Navigation-‹-wpmlsite-‹-Editor-—-WordPress.png
Selecting-navigation-in-Translation-Management.png
February 24, 2025 at 4:59 pm #16742322

akmaljonU

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.

tg_image_985920105.png
tg_image_3611458186.png
tg_image_1373281755.png
February 25, 2025 at 2:41 pm #16746461

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for your feedback.

I am unable to access your site as it is currently closed.

1. I suspect that the language switcher may not be separate but rather related to the space created by your button. Are you using custom CSS?

2. Please try re-translating the menu.

3. Consider disabling the language switcher you may have enabled in WPML → Languages.

Did you follow the article linked below? (Translating Menus Built Using Site Editor) https://wpml.org/documentation/getting-started-guide/translating-menus/#translate-menus-site-editor/

February 25, 2025 at 3:16 pm #16746704

akmaljonU

Hi Andrey,
Thank you for your helping. I disabled Maintenance Mode for better understanding for you and I'll also try to do steps you mentioned.

February 25, 2025 at 3:31 pm #16746760

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Sure, let me know how it goes.

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.

February 25, 2025 at 7:42 pm #16747759

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

Thank you for the information.

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?

February 26, 2025 at 4:24 am #16748754

akmaljonU

Yes, I confirm that I took a backup, you can install plugins you needed.

February 26, 2025 at 4:07 pm #16752120

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

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.

Screenshot 2025-02-26 at 17.57.27.png
Screenshot 2025-02-26 at 17.57.21.png
February 26, 2025 at 5:48 pm #16752595
akmaljonU

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:

https://wpml.org/forums/topic/split-two-blocks-on-main-page-has-style-issues/

Contact_uz.jpg
Contact_ru.jpg
Contact_en.jpg
Cert_uz.jpg
Cert_ru.jpg
Cert_en.jpg
February 27, 2025 at 3:20 am #16753830
akmaljonU

And I also noticed style issues of language switcher on mobile, is it also possible to fix?

New threads created by Andrey and linked to this one are listed below:

https://wpml.org/forums/topic/split-style-issues-of-language-switcher-on-mobile/

langswitch.jpg