Skip Navigation

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

Problem:
The client was experiencing issues with managing media translations in WPML. They wanted to define the language for each media item and associate images between different languages. Additionally, there was a problem with an image not displaying correctly, which was suspected to be related to Elementor's caching feature.
Solution:
We advised the client to use the WPML Media Translation addon to manage media translations more effectively. This tool allows for the association of different images for different language versions by uploading new images directly if they are not already present in the media library. For the issue with the image not displaying, we recommended clearing the Elementor cache, which resolved the problem. For further details on using the Media Translation addon, visit WPML Media Translation documentation.

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. Should you need further assistance, please do not hesitate to 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.

Tagged: ,

This topic contains 0 replies, has 0 voices.

Last updated by simonD-21 1 week, 6 days ago.

Assisted by: Kor.

Author Posts
December 5, 2024 at 8:48 am #16480008

simonD-21

Background of the issue:
I've been using WPML for some time now and for several sites. I'm trying to manage media translation effectively. I want to define the language of each media and associate an image in the native language with another image in the alternative language, which is already uploaded and available in the media manager.

Symptoms:
I'm having trouble managing media translation with WPML.

Questions:
Is it possible to define the language of each media and associate images between different languages?
How do I efficiently associate media between different languages?

December 5, 2024 at 9:23 am #16480410

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

December 6, 2024 at 5:20 pm #16487008

simonD-21

Hello Kor,

I'm really interested in your audit of the site's WPML configuration.
Unfortunately it's a site in the process of being created that the client is currently reviewing.
I wouldn't want him to have to deal with any disruption caused by your tests.
I'd like to wait a little longer before sending you the connection details you need.
I hope you'll be able to keep this ticket open for a few more days.

Thank you

December 6, 2024 at 5:21 pm #16487010

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

No problems at all. let me know how it goes.

December 10, 2024 at 8:52 am #16496399

simonD-21

Hello Kor,

I've made a copy of the site and I'd like to give you access so that you can audit its configuration.
Could you tell me how I can give you the login details securely?

Thank you

December 10, 2024 at 8:56 am #16496411

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've enabled the private reply option for you and could you please insert your WP admin credentials over there?

December 10, 2024 at 7:14 pm #16500159

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

The image on this page is not showing or broken here hidden link . Could you check? Also, please share the SVG and PNG versions of the image so that I can test this further.

December 11, 2024 at 8:33 am #16501975

simonD-21

Hello Kor,

Thank you for your reply.
The image link is fixed.
You can download the svg and png images FR and EN at this address :
hidden link

Thank you

December 11, 2024 at 11:14 am #16502962

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience.

I can replicate this on our sandbox site here hidden link

Here are the test pages. The building image cannot be translated using Media Translation.
hidden link
hidden link

Please allow me to escalate this further to our 2nd Tier Support for further investigation.

December 12, 2024 at 7:25 am #16506253

Kor
Supporter

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. It's related to Elementor Cache. Clearing the Elementor cache fixes it as shown in the attached screenshot.hidden link

Screenshot_85.jpg
December 12, 2024 at 7:52 pm #16509374

simonD-21

Hello Kor,

Yes, I think you've hit the nail on the head.
However, I didn't immediately succeed in displaying the image of the translated language.
In my configuration I had to deactivate the Elementor Features/Element caching option.

My problem is now solved.

I'm sorry, though, that in WPML the translation of media isn't more like that of a post: it seems to me that, rather than having a specialized tool like Media Transalator, you could go directly through the WordPress media manager and have access to the language and translation options directly in the media.
Maybe in future WPML developments.

Best regards