[Resolved] I need help with Shopkit of Kadence and WPML
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.
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?
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
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."
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.
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.