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 |
---|---|---|---|---|---|---|
- | 10:00 – 17:00 | 10:00 – 17:00 | 10:00 – 17:00 | 10:00 – 17:00 | 10:00 – 17:00 | - |
- | 18:00 – 19:00 | 18:00 – 19:00 | 18:00 – 19:00 | 18:00 – 19:00 | 18:00 – 19:00 | - |
Supporter timezone: Asia/Kathmandu (GMT+05:45)
Tagged: Compatibility
This topic contains 6 replies, has 1 voice.
Last updated by Shekhar Bhandari 1 week ago.
Assisted by: Shekhar Bhandari.
Author | Posts |
---|---|
April 7, 2025 at 5:41 pm #16905575 | |
axelT-5 |
Background of the issue: Symptoms: Questions: |
April 9, 2025 at 4:15 am #16911319 | |
axelT-5 |
Hello, |
April 10, 2025 at 7:42 am #16916949 | |
Marcel WPML Supporter since 02/2019
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process. If your message included code, it might have been trimmed. Could you please try sending it again? Best Regards |
April 17, 2025 at 6:51 am #16942067 | |
axelT-5 |
I could salvage it from https://wordpress.org/support/topic/slider-not-working-with-wpml/#post-18403871 This seems to be due to WPML altering data-swiper-options from data-swiper-options=”{"slidesPerView":1,"spaceBetween":0… to data-swiper-options=”{“slidesPerView”:1,”spaceBetween”:0,… I.e. the quotation is changed. |
April 17, 2025 at 1:07 pm #16944116 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Thank you for contacting WPML support. I'd be happy to assist you on this issue further. Does the issue exists when translating the slider? Can you attach few screenshots how you are performing the translations so I can help on this further. Look forward to your reply. Thanks |
April 17, 2025 at 3:36 pm #16945004 | |
axelT-5 |
Hello, yes, the slider is being translated. Actually WPML's interface has recently changed, so I guess it needs to be selected in the dashboard view for translation and then the translation edited in the advanced WPML editor. BR, Axel. |
April 18, 2025 at 4:10 am #16946179 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Can you provide me urls where this slider is being added? Further, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site. So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. This info is private and available to you and WPML supporters only. Note: Look forward to your reply. Thanks |
April 24, 2025 at 9:05 am #16963322 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hi there, It’s quite difficult to debug the issue without access to your site. Since you're unable to share login credentials, I’ve set up a temporary public site for testing purposes. You can log in using the following URL: hidden link Could you please try installing the slider plugin on this test site and check if the issue persists? Looking forward to your response. Thanks |
April 29, 2025 at 5:04 am #16977133 | |
axelT-5 |
It does persist. Compare hidden link hidden link : WPML converts '"' in an attribute string to '"', thus breaking the string structure and the surrounding HTML. Which can be seen by the broken/stalled animation on the translated page. gutslider's author signaled that he will try to work around WPML's bug, but even if he does, the bug is there and can affect random other attributes. HTH |
April 29, 2025 at 6:26 am #16977237 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, I went to WPML->Settings->custom xml configuration and added the following xml <wpml-config> <gutenberg-blocks> <gutenberg-block type="gutsliders/content-slider" translate="1"> <xpath>//div/h3</xpath> <xpath>//div/h2</xpath> <xpath>//div/p</xpath> <xpath>//div/a</xpath> <key name="slideItems"> <key name="*"> <key name="panelTitle" /> <key name="subtitle" /> <key name="title" /> <key name="description" /> <key name="btnLabel" /> <key name="sbtnLabel" /> </key> </key> </gutenberg-block> </gutenberg-blocks> </wpml-config> Then I translate the template again and it's working for me, you can suggest the plugin author to use the following url and create the xml for the texts for translations and it will fix the issue. Thanks |
April 29, 2025 at 7:25 am #16977425 | |
axelT-5 |
Thank you for the swift workaround. |
April 29, 2025 at 8:08 am #16977633 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello, We generally do not recommend translating that type of content, so I wouldn't consider this a bug. I also tested by adding similar content to the page, and it worked as expected. Thank you. |
April 29, 2025 at 9:04 am #16977834 | |
axelT-5 |
Hello, what do you mean "do not recommend translating that type of content" - shouldn't text on sliders be translated? |
April 29, 2025 at 9:16 am #16977861 | |
Shekhar Bhandari WPML Supporter since 03/2015
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Yes, it should be translated but by using the configurations files, the config file makes sure it only translates the text leaving settings untouched. I hope this helps. Thanks |
April 29, 2025 at 8:30 pm #16980992 | |
axelT-5 |
Hello, I am still confused as to why this is not a bug and what is considered translation worthy and what not. |