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
- 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 8:00 – 17:00 -
- - - - - - -

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

This topic contains 23 replies, has 1 voice.

Last updated by Paola Mendiburu 1 month ago.

Assisted by: Paola Mendiburu.

Author Posts
May 14, 2025 at 11:43 am #17031923

wdburgdorf

Please have a look at function styleLanguageSwitcher() in
wp-content/plugins/sitepress-multilingual-cms/classes/block-editor/Loader.php

Could that not be somewhat related to it?

May 14, 2025 at 11:47 am #17031943

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Hi Ralf,
Thank you very much for your feedback.

Can you add the custom language switcher to the sandbox site? That way we can take a deeper look and check if there is something buggy on our code 🙂

May 14, 2025 at 11:53 am #17031962

wdburgdorf

Sorry, Carlos, it is indeed not the Custom switcher, but the switcher Gutenberg block.
I will add that to your site now.

May 14, 2025 at 11:58 am #17031972

wdburgdorf

There you go: hidden link
Same as on my site, including inline styles.

May 14, 2025 at 12:07 pm #17031988

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thanks!

Quick question: You just added the Gutenberg block with the language switcher, no additional code, correct?

May 14, 2025 at 12:16 pm #17032045

wdburgdorf

Yes, no code, I'm not cheating ...

I changed block settings, so it looks more like mine, and switched on the second language in the switcher setting. I'm sure that has nothing to do with the code. You can just delete that switcher and add it again, it will be the same.

May 14, 2025 at 12:31 pm #17032265

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

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

Thank you very much!

I was able to reproduce the issue, and I have escalated this ticket to our 2nd tier of support, where our 2nd tier specialists will take a deeper look at this issue.

We will keep you updated on the evolution of this ticket.
Thank you very much for your patience and understanding!

May 14, 2025 at 12:40 pm #17032289

wdburgdorf

Thanks a lot for your efforts, Carlos!
I can wait, this is not breaking anything ... just somehow bugging me ...

May 15, 2025 at 9:28 am #17035940

Paola Mendiburu
WPML Supporter since 11/2020

Languages: English (English ) Spanish (Español ) Italian (Italiano )

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

Hi there!

This is Paola and I will continue with the ticket as Carlos is on holidays.

The issue has been escalated to the second tier.

I will let you know when I have some news.

Thanks.