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.

Our next available supporter will start replying to tickets in about 4.59 hours from now. Thank you for your understanding.

This topic contains 4 replies, has 3 voices.

Last updated by arnoP-3 1 year, 8 months ago.

Assisted by: Long Nguyen.

Author Posts
February 26, 2023 at 6:09 pm #13117715

arnoP-3

Hello,

I am trying to add a translation for a media file (PDF). This worked fine for several files, but one doesn't get saved. I selected a different file for the translation, entered a different name, and after trying to save it, WPML shows a "plus" icon like nothing has been done. If I click that icon, the name I entered is gone.

When I look in the uploads directory, I do see the uploaded file. The file is named wrong (WPML adds "-1" to the file name) and WPML creates some duplicate files that should not be there, but that's another bug I reported before. My concern now is that this particular media translation does not get saved. How do I solve that?

Thanks,
Arno

February 27, 2023 at 8:40 am #13120457

Amit
Supporter

Hi, before one of my colleagues can take the ticket, I'll provide a few steps to resolve the issue.

First, I have noticed you do not have enough memory allocated to your WP - please see this document - https://wpml.org/home/minimum-requirements/ - and follow the guidance to increase the memory allocation.

Then you should check the following:

. Check file permissions: Make sure the file permissions for the uploads directory are set correctly. The directory should have read and write permissions for the web server.

. Clear cache: Clear any caching plugins, browser cache, and server cache to ensure you see the latest version of the media translation.

. Try a different method: If the issue persists, you may want to try adding the media translation using a different method. For example, you can add the media translation directly from the Media Library instead of through the WPML Translation Editor.

If those things do not help, please let us know so we can try and help you further.

February 27, 2023 at 4:03 pm #13126903

arnoP-3

Hi Amit,

Thanks for the suggestions. I set the memory limit to 128 Mb. When I checked again, the translated name was available for the media file that had the issue. I did not enter it again though, so this may indeed have been cache related. I thought the WordPress Admin was always excluded from all caches.

February 28, 2023 at 6:42 am #13131315

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

It could be an issue when the WP memory limit is lower than the requirements and caching issue.
Glad to hear it works. Let me know if you have any questions.

February 28, 2023 at 5:09 pm #13138461

arnoP-3

Let's assume it won't happen again. Thanks Amit and Long.