This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing an issue where the "Image Slider Block" plugin stopped working on the English section of their hotel categories (Europe, Asia, Middle East). The images were not displayed as a slider but just in a row underneath each other. The problem was only present in the English version, while the German version worked fine.
Solution:
First, we identified that the issue was related to the HTML structure of the block, where the data settings value was being HTML encoded and then decoded incorrectly after translation with WPML's translation editor. We initially suggested translating the page using the WordPress editor and adding the slider manually on the translation page, following the documentation at https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/.
Later, we resolved the issue on the Europe hotel page by removing the problematic block and adding the following custom XML code to WPML > Settings > Custom XML Configuration tab, to exclude the "Image Slider Block" content from translation:
<wpml-config> <gutenberg-blocks> <gutenberg-block type="slider-block/slider-block" translate="0"> </gutenberg-block> </gutenberg-blocks> </wpml-config>
This allowed the client to translate the Europe hotel page with the Advanced Translation Editor as well. For more information, refer to the documentation at https://wpml.org/documentation/support/language-configuration-files/make-custom-gutenberg-blocks-translatable/.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If you're still experiencing issues, we 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 the problem persists, please open a new support ticket with us.
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.
This topic is split from https://wpml.org/forums/topic/kadence-theme-element-sidebar-does-not-show-tranlated/
This topic contains 3 replies, has 2 voices.
Last updated by 1 year, 4 months ago.
Assisted by: Long Nguyen.