Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was experiencing an issue where the gallery slider on the product pages was not displaying correctly in all languages using Shopkit of Kadence and WPML. Specifically, in two of the four languages, the images were covering the 'add to cart' button, indicating that styles were not being copied across all languages.
Solution:
We identified that the problem was due to a translated string in the

admin_texts_kt_woo_extras

text domain. We resolved the issue by deleting its translation, which corrected the gallery display across all languages. To avoid similar issues in the future, when translating strings, it is crucial to copy the entire English string and translate only the necessary parts, such as "Add to Bag."

If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems 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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Osama Mersal 2 months, 2 weeks ago.

Assisted by: Osama Mersal.

Author Posts
April 11, 2025 at 11:12 am #16922368

samanthaB-3

Background of the issue:
I am trying to have a gallery slider on the product pages of my site hidden link using Shopkit of Kadence and WPML. I am following the normal procedure with WPML.

Symptoms:
Two of the four languages on my site look different, and the images are covering the add to cart button. It seems that the styles are not being copied to all the languages, and something is broken badly. This issue can be seen on hidden link compared to the English page hidden link.

Questions:
Why are the styles not being copied to all languages?
How can I fix the gallery slider issue where images cover the add to cart button?

April 13, 2025 at 1:14 pm #16926446

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

First of all, sorry for the late reply; it was due to a higher workload.

Please log in to this hidden link">sandbox site and install the ShopKit plugin. After that, please try to replicate the issue.

If the issue is replicable, please let me know how to reproduce it so I can check it and consult our compatibility team if needed.

Best regards,
Osama

April 14, 2025 at 7:09 am #16927346

samanthaB-3

Hi Osama,

You can access the staging website that is no issue.

Regards,

Sam

April 14, 2025 at 7:47 am #16927595

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Sam,

I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please back up your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

April 14, 2025 at 10:36 am #16928366

samanthaB-3

Hi,

Thanks for getting back to me. You can see the issue, which comes and goes on the following pages as well hidden link that is the dutch page wich suddenly works now and then compare with the french hidden link

Kind regards,

Samantha

April 14, 2025 at 10:58 am #16928575

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi Samantha,

Thanks for the access details. I checked the issue and found a translated string in the "admin_texts_kt_woo_extras" text domain, which caused the issue, so I deleted its translation.

After that, the gallery appeared correctly in all languages. Please check the French product and let me know if it works as expected. (hidden link)

To translate this string, please copy the whole English string and translate only the necessary texts, such as "Add to Bag."

Best regards,
Osama

April 16, 2025 at 10:36 am #16937910

samanthaB-3

Hi Osama,

Thanks so much for your help. The thing is we do that with a lot of strings. However, this suddenly appeared out of nowhere. On top of this is the string translation of such a massive text in such a small box will one day or another cause problems.

That said I see also errors in the english text where some items are suddenly in German? How can we avoid that German text will end up in English text? We often translate our self and different languages. So the switching might cause this.

Thanks again for your help

April 16, 2025 at 10:42 am #16938025

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

1) This string comes from the ShopKit settings, as they store all the settings in one record in the database. That's why you see a lot of unnecessary texts inside this string.

2) I'm not sure why the second issue happens, but you could give me an example, and I'll check it.

Best regards,
Osama