Skip Navigation

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.

Elementor users - please update WPML to the latest version to maintain compatibility. More details here - https://wpml.org/changelog/2024/12/wpml-4-6-15-critical-update-for-elementor-sites/
Sun Mon Tue Wed Thu Fri Sat
- - 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00
- - - - - - -

Supporter timezone: America/Lima (GMT-05:00)

This topic contains 6 replies, has 0 voices.

Last updated by Andreas W. 3 days, 23 hours ago.

Assisted by: Andreas W..

Author Posts
December 27, 2024 at 7:27 pm #16549140

rabeeK

Background of the issue:
after i translated my pages, and I noticed that the images are not appearing on the translated version. The issue can be seen on this page: hidden link.

FYI, i have already cleared WPML caches.

Symptoms:
When I accessed my media library in the new language, it displayed only 40% of the content, while the remainder seems to be missing. However, in the default language, the media library displays all the images.

Questions:
Why are images missing in the media library for the translated language?
How can I ensure all images appear in the translated version?

December 27, 2024 at 7:37 pm #16549181

Andreas W.
Supporter

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

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

Hi!

Each page or post has a settings inside the right sidebar of the WordPress Editor which will allow you to mark a checkbox in order to duplicate the featured image and another checkbox for duplicating the attached media.

This will not duplicate the physical image, but it will create the necessary database entries for different languages.

If the checkboxes are not marked on a original content, the media is not synced.

To sync all the media of the library you can go to WPML > Settings > Media Translation and click the "Start" button. This process might take a while but should solve the issues about media not showing up inside a second language.

If this will not solve the issue, please let me know.

Best regards
Andreas

December 27, 2024 at 7:54 pm #16549226

rabeeK

Thank you for your reply,

I do not see any button to start the media translation process. The only option i have allows me to proceed one image at a time, which is quite inconvenient because I have over 2,000 images.

December 27, 2024 at 8:25 pm #16549273

Andreas W.
Supporter

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

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

The button "Start" is at WPML > Settings > Media Translation.

Do you not have this section available?

December 27, 2024 at 8:35 pm #16549288

rabeeK

Yes, I do have Media Translation section but dont have the start button. please see the screenshot

Thank you

Screenshot 2024-12-27 153326.jpg
December 27, 2024 at 9:01 pm #16549314

Andreas W.
Supporter

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

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

This is not the section I mentioned. Go to:

WPML > Settings > Media Translation > Start

December 27, 2024 at 9:22 pm #16549326

rabeeK

Sorry about that.

I initiated the process by clicking on "start" in Media Translation. Currently, the media library becomes 1,161; but approximately 900 additional images are still missing.

Screenshot 2024-12-27 162034.jpg
Screenshot 2024-12-27 161957.jpg
December 27, 2024 at 9:43 pm #16549473

Andreas W.
Supporter

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

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

Hi,

I would like to offer to take a closer look and request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

Best regards
Andreas

December 27, 2024 at 11:09 pm #16549600

Andreas W.
Supporter

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

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

I am not fully sure yet, but the difference of images might be related to the fact that you use an Elementor Image Optimizer and on the dashboard it says:

"You’ve reached your plan quota. You have no images left to optimize in your current plan."

I need some more time to investigate this issue and will contact you tomorrow again.

December 27, 2024 at 11:31 pm #16549607

rabeeK

Hi, Thank you for your time.I dont think so this is related. the image optimizer just reduces the file size of an image by compressing and resizing it! I currently have 300 images that remain unoptimized. while over 900 images are still missing in WPML.

I appreciate your assistance and look forward to hearing from you tomorrow.

December 28, 2024 at 8:45 am #16549766

Andreas W.
Supporter

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

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

This is not fully correct.

An optimized image is a new physical file on the server, with a lower size.

If you open the image optimizer, and switch the language inside the admin bar to English, you will see that in English not any image has been optimized.

This is why you have a lower count in English.

Now, English will not need to optimize images. It should use the original images or their optimized versions.

I still need some time to investigate the gallery issues.

December 28, 2024 at 3:13 pm #16550197

Andreas W.
Supporter

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

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

I took a local copy of your site for testing.

I am sadly not yet able to identify what is causing the issue on your site.

So far, the only workaround I was able to find was uploading the original Arabic images again to the media library.

I will have another look into this on Tuesday, as I am not working on Sundays and Mondays.

December 28, 2024 at 3:24 pm #16550205

Andreas W.
Supporter

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

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

I just gave this a test on your live site and uploading the media again to the library solves the issue.

I suggest you remove the affected images and upload them again to the media library, but make sure that they use the same file names.

December 28, 2024 at 6:12 pm #16550364

rabeeK

Hello Andreas,

Thank you for your reply.

This option is not very convenient; however, I will try to remove and re-upload several images.

I have checked the image optimizer and switched the language in the admin bar to English, it says "the license key does not match your current domain." It is possible that Elementor is interpreting the English URL ((hidden link)) as a new domain.

What confusing me is that 60% of the images are displayed while 40% are missing . If there were an issue with the image optimizer plugin, it would not accept any images at all.

In any case, I will leave further investigation to you. Simultaneously, I have submitted a support ticket to Elementor team regarding this matter.

Thank you

December 29, 2024 at 2:10 am #16550616

Andreas W.
Supporter

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

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

I have uploaded a new image on your live site today and it was direclty synced as expected. It looks as this issue can not longer be replicated.

I suggest re-uploading the images.