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 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Africa/Cairo (GMT+02:00)

This topic contains 5 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 10 months ago.

Assisted by: Mohamed Sayed.

Author Posts
August 8, 2023 at 1:10 pm #14169447

ninaB-11

Hello,

the flags of the langugae switcher dont work. A blank image is shown and text of the choosen language.

I tried to "clear cache on WPML" and "Remove ghost entries". After clearing cache the switcher works ok but soon the problem is back.

What can we do?

Posnetek zaslona 2023-08-08 150841.JPG
August 8, 2023 at 5:52 pm #14171737

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

I see that the images exist when I visit the source URL: ( ...../wp-content/plugins/sitepress-multilingual-cms/res/flags/sl.png)

I couldn't find any errors in the browser console but it shows that the page is cached by Litespeed.

Could you please clear the plugin's cache and disable it temporarily then check if the issue is resolved?

Kind regards,
Mohamed

August 9, 2023 at 9:39 am #14174463

ninaB-11

Hello,

I cleared cache and disabled Lightspeed and now I think it work ok. I would like to have Lightspeed enabled, what can be the problem. Are there some settings to change?

Thank you.

August 9, 2023 at 6:06 pm #14177805

Mohamed Sayed

I couldn't find any similar reports with the same issue so it could be related to the cached version.

Could you please enable the plugin and check if the issue is resolved?

If you still see the same behavior, kindly check if any image optimization option is enabled and disable it then check again.

Let me know please how that goes.

August 16, 2023 at 9:20 am #14208103

ninaB-11

Hi,

I have disabled the lazy loading of images in lightspeed plugin and now seems to work fine. We would like to have lazy load enabled so this is probably not the best solution.

August 16, 2023 at 12:26 pm #14227767

Mohamed Sayed

I tried to replicate the issue on one of our testing sites hidden link, but the flags are loading without any issues. Maybe I'm using different settings.

I have created this clean sandbox setup on our servers here:
hidden link (one-click login)

I would need you to please set up WPML + the WPML add-ons as you have them on your site (they are already installed) and to also install the LiteSpeed plugin and try to recreate this issue with same settings you have.

Please don't install anything else like plugins that are not necessary, on a clean sandbox we try to use just the WPML plugins and the plugin/theme that's part of the issue

If the issue is going to take place on this clean setup on our servers too, then I can forward this to our compatibility department.

Please let me know how that goes and what you are able to find.

Screenshot_123.png

The topic ‘[Closed] Language swithcer flag doesnt work’ is closed to new replies.