Resolved
Reported for: WPML Multilingual CMS 4.7.2
Resolved in: WPML Multilingual CMS 4.7.4
Overview of the issue
You might encounter an issue that the strings from posts created by Elementor page builder are registered once more time in the “Widgets” textdomain while you visit WPML > String Translation page.
It is advisable that you should not translate those strings as you might end-up with two different values.
Workaround
Until this issue is addressed by our developers, you can add this temporary workaround code in your theme functions.php file:
1 2 3 4 5 6 7 8 9 10 11 12 13 | add_action( 'elementor/widget/before_render_content' , function () { $isRemoved = remove_filter( 'widget_text' , 'icl_sw_filters_widget_text' , 0 ); if ( ! $isRemoved ) { return ; } add_filter( 'elementor/widget/render_content' , function ( $content ) { add_filter( 'widget_text' , 'icl_sw_filters_widget_text' , 0 ); return $content ; }, PHP_INT_MAX ); } ); |