Skip to content Skip to sidebar

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

Problem:
The client was experiencing issues with various widgets of Unlimited Elements for Elementor, where the Media Translation did not replace the images in a second language. This was particularly problematic with the 'Coverflow Carousel' and 'Dual Color Heading' widgets from Unlimited Elements for Elementor, which were not filtering images correctly by language.

Solution:
We first recommended ensuring all plugins were updated and then re-saving the original page in Elementor. When this did not resolve the issue, we identified that the function

getUrlAttachmentImage

in the plugin was not checking for the current language. We provided a code snippet to modify this function to integrate WPML's language settings:

For the Image Carousel, revise this comment. Another fix can be found here.

We advised the client to report these details to the plugin authors and informed them that our compatibility team would also reach out to the plugin authors.

If this solution does not apply to your case, or if it seems outdated, 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 at WPML support forum.

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 73 replies, has 0 voices.

Last updated by sachaJ 3 days, 23 hours ago.

Assisted by: Andreas W..

Author Posts
October 11, 2025 at 1:49 am #17475845

sachaJ

Background of the issue:
I am trying to check the status of my support request for the site hidden link.

Symptoms:
I don't see any information regarding the status of my support request.

Questions:
What is the status of my support request?

October 11, 2025 at 2:13 am #17475876

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I am currently not seeing any open tickets on your account:
https://wpml.org/forums/users/sachaj/

Is this request about the custom CSS changes mentioned in this ticket?
https://wpml.org/forums/topic/setting-my-menu-language-switcher-with-additional-css-codes/

Note that such custom code requests are usually developer work or a question for the theme support, and individual custom code adjustments are not covered by our support policy. We are happy to offer guidance in such cases, but we can not provide code solutions, especially not for complex issues.

WPML Support Policy:
https://wpml.org/purchase/support-policy/

Please let me know what you are trying to achieve, and I will try to guide you on this matter.

I have enabled the private reply form so that you can provide me access to the site. I can currently not see the frontend due to server protection.

The form looks like this:
hidden link

When answering the next time, click on "I still need assistance".

Video:
hidden link

Best regards
Andreas

October 11, 2025 at 4:48 pm #17476616

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I sadly cannot access the site, as there is an additional server protection that requires a username and password. The private reply form is now enabled, allowing you to provide me with this information.

If you want to display different images in different languages with WPML, you will need to use WPML Media Translation.

Guide:
https://wpml.org/documentation/getting-started-guide/media-translation/#how-to-display-different-media-per-language

It would also be very helpful if you could provide us with WPML debugging information.
More information here:
https://wpml.org/de/faq/provide-debug-information-faster-support/

October 11, 2025 at 8:46 pm #17476876

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies for the misunderstanding.

The WordPress login information might be fine, but I need the username and password for the server protection. See screenshot.

pass.png
October 14, 2025 at 11:19 am #17483364

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I can sadly still not access the WordPress login form. Please revise the attached screenshot.

I need the username and password for the server protection dialog.

prtect.png
October 14, 2025 at 11:22 am #17483399

sachaJ

username: sacha
Password: CRCview@sacha

October 14, 2025 at 12:45 pm #17483903

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I see French images on your original English homepage inside the section "We plan":
hidden link

You are using a Template (Container) called "We plan".

Inside there, you use the widget "Coverflow Carousel" from Unlimited Elementor for Elementor, which does not filter the images correctly by language.

Before we take any further steps, make sure that all our plugins are updated. After that, edit the original page in Elementor and save it again.

If this does not solve the issue, let me know, and I will try to replicate the issue on a WPML test site.

October 14, 2025 at 12:51 pm #17483952

sachaJ

HI Andreas, the is the problem!

The WPML plug-in is not showing the correct language in some widgets
1. The CoverFlow
2. The Dual Heading (which keeps the EN version within the brackets).

See same images attached.

How can you adjust the WPML settings so it recognizes the languages settings of the imagery (like it is sold to us)?

WMPL_INSTANCE_1.JPG
WMPL_INSTANCE_2 and missing Imagery.JPG
WPML_Translation Widget_2.JPG
WPML_Translation Widget_1.JPG
October 14, 2025 at 1:12 pm #17484079

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Well, the question is whether it is WPML or the widget - it is more likely the widgets that are not compatible with WPML Media Translation.

I will try to replicate this on a test site and then get back to you.

October 14, 2025 at 1:15 pm #17484126

sachaJ

Perfect!...Thank You!

If you have comparable FREE plug-ins to suggest, please share as well!

Invested too much already and can't add more to the site.

I LOVE WPML and want to keep it BUT need a solution for my designs 🙂

October 14, 2025 at 2:21 pm #17484455

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

On my test site, I can confirm the issue with the images inside the "CoverFlow Carousel".

The plugin is trying to fetch the correct image inside the file \unlimited-elements-for-elementor\provider\functions_wordpress.class.php with this function:

public static function getUrlAttachmentImage($thumbID, $size = self::THUMB_FULL){

		$handle = "thumb_{$thumbID}_{$size}";

		if(isset(self::$arrUrlThumbCache[$handle]))
			return (self::$arrUrlThumbCache[$handle]);

		//wpml integration - get translated media id for current language

		$isWPML = UniteCreatorWpmlIntegrate::isWpmlExists();

		if($isWPML)
			$thumbID = UniteCreatorWpmlIntegrate::getTranslatedAttachmentID($thumbID);

		$arrImage = wp_get_attachment_image_src($thumbID, $size);
		if(empty($arrImage))
			return (false);

		$url = UniteFunctionsUC::getVal($arrImage, 0);

		self::$arrUrlThumbCache[$handle] = $url;

		return ($url);
	}

The plugin is not checking for the current language. The function needs to be adapted to:

public static function getUrlAttachmentImage($thumbID, $size = self::THUMB_FULL){

		$handle = "thumb_{$thumbID}_{$size}";

		if(isset(self::$arrUrlThumbCache[$handle]))
			return (self::$arrUrlThumbCache[$handle]);

		//wpml integration - get translated media id for current language

		$isWPML = UniteCreatorWpmlIntegrate::isWpmlExists();

		if ( $isWPML ) {
			$current_lang = apply_filters( 'wpml_current_language', null );
			$default_lang = apply_filters( 'wpml_default_language', null );

			if ( $current_lang !== $default_lang ) {
				$thumbID = UniteCreatorWpmlIntegrate::getTranslatedAttachmentID( $thumbID );
			}
		}

		$arrImage = wp_get_attachment_image_src($thumbID, $size);
		if(empty($arrImage))
			return (false);

		$url = UniteFunctionsUC::getVal($arrImage, 0);

		self::$arrUrlThumbCache[$handle] = $url;

		return ($url);
	}

Please report these details to Unlimited Elementor for Elementor and let us know if further assistance from our end is necessary. I am further escalating to our compatilbity team, which might try to reach the author of the plugin on this matter.

---

Could you please try to replicate the issue with the "Dual Color Heading" as I can not confirm this so far:

One-Click-Login:
hidden link

October 14, 2025 at 4:05 pm #17484870

sachaJ

Hi Andreas,

POINT 1:
Ok, I will forward the above plug-in info for the Unlimited Elements for Elementor.

POINT 2:
I don't know what you are asking me as the link doesn't explain anything to me.
Can you please explain your below note and what the link is supposed to mean for me?

"Could you please try to replicate the issue with the "Dual Color Heading" as I can not confirm this so far:

One-Click-Login:
hidden link"

October 14, 2025 at 4:34 pm #17484915

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

If you click on the link, you will be logged into a test site.

Please try to recreate the issue with the "Dual Color Heading" and let me know if you can confirm the same issue there. Make sure to use the same field values and settings, as for now, I could not confirm any issue regarding this widget.

Note, I already escalated the image issue to our compatilbity team, too. They will try to reach the author about it.

October 14, 2025 at 4:42 pm #17484935

sachaJ

THANK YOU for Escalating!

As for the link you had sent me, here is what it goes to (attached image).

Since I still don't get it, I chose to try another widget that I have purchased to give be the Dual Text.

Since it is from Unlimited Element For Elementor as well, I will be able to get BOTH tech support to match WMPL.

Thank you again, Andreas!!!

I look forward to a happy resolution 😉

Have a great day!

Capture.JPG
October 14, 2025 at 4:50 pm #17485013

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

After clicking on the link, you can go to hidden link to access the backend.

You said that the "Dual Heading" widget is also causing issues.

Please create a new page with the widget or widgets that are currently causing issues on the site. Try using the same settings and confirm if the issue will also exist on this test site.

Or provide more details, or screenshots, and I can assist you in trying to recreate the issue.