This thread is resolved. Here is a description of the problem and solution.
Problem:
This is a compatibility problem with the Make Column Clickable Elementor plugin. You are trying to translate a popup in Elementor using WPML, but the popup displays in Greek instead of English.
Solution:
We recommend following these steps to address the issue:
1. Ensure you back up your site before making any changes.
2. Open the
functions.php
file of your theme using a code editor.
3. Insert the following code:
/** * Convert the popup link in a column * Based on compsupp-7641 workaround */ add_filter( 'wpml_pb_elementor_widget_dynamic_id_converters', function( $converters ) { $isContainer = \WPML\FP\Relation::propEq( 'elType', 'column' ); $containerLinksLens = \WPML\FP\compose( \WPML\FP\Obj::lensProp( 'settings' ), \WPML\FP\Obj::lensPath( [ '__dynamic__', 'column_link' ] ) ); return array_merge( $converters, [ [ $isContainer, $containerLinksLens, 'popup', 'popup' ], ] ); } );
4. Save the changes to the file.
We have published an errata about it: https://wpml.org/errata/make-column-clickable-elementor-popup-ids-not-translated-in-secondary-languages/
This code snippet should help ensure that the popup is displayed in the correct language. We contacted the authors of the Make Column Clickable Elementor plugin and asked them to add this fix to their files. https://wordpress.org/plugins/make-column-clickable-elementor/.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your specific 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 further assistance is needed, 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.
This topic contains 7 replies, has 0 voices.
Last updated by 3 weeks, 6 days ago.
Assisted by: Itamar.