Skip to content Skip to sidebar

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

Problem:
The client is developing a site and needs to upload a PDF in different languages for secondary languages using WPML. They can only see the option to translate the name of the file in media translation but not to change the media itself.
Solution:
We recommend following these steps:
1. From the top of the black bar, click on the flag for the other language (the one where the translation exists for the page where you want to use a different PDF).
2. Navigate to the main Pages list, hover your mouse over the desired page, and select "Edit with Elementor."
3. Once you're in Elementor, you should be able to edit the PDF URL and change it to the translated version of the PDF. Don't forget to save the page afterward.
Additionally, you can refer to these discussions for more insights:

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 you still need assistance, please open a new support ticket at https://wpml.org/forums/forum/english-support/.

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

Last updated by clementD-15 1 month, 2 weeks ago.

Assisted by: Mihai Apetrei.

Author Posts
May 21, 2025 at 4:04 am #17054863

clementD-15

Background of the issue:
I am developing a site and need to upload a PDF in a different language for my secondary languages using WPML.

Symptoms:
I can only see the option to translate the name of the file in media translation but not to change the media itself.

Questions:
How can I upload a different PDF for each language in WPML?

May 21, 2025 at 1:19 pm #17057636

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there,

Please take a look at the following tickets:

- https://wpml.org/forums/topic/translate-pdf-links/
- https://wpml.org/forums/topic/how-to-use-different-pdf-files-in-different-languages/

I believe this will help you resolve the issue.

Let me know how things go and if you still need assistance.

Mihai Apetrei

May 21, 2025 at 4:31 pm #17058520

clementD-15

Hi Mihai,

It says in one of the articles that it's possible to change an image, but I can't find a way to upload another pdf in media translation.

Screenshot 2025-05-21 at 18.28.41.png
May 22, 2025 at 5:49 pm #17063236

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hello and thank you for the update,

I’m not entirely sure about the setup, but while you’re in the backend of the site, please follow these steps:

1. From the top of the black bar, click on the flag for the other language (the one where the translation exists for the page where you want to use a different PDF).
2. Navigate to the main Pages list, hover your mouse over the desired page, and select “Edit with Elementor.”

Once you’re in Elementor, you should be able to edit the PDF URL and change it to the translated version of the PDF. Don’t forget to save the page afterward.

Please let me know how it goes!

May 25, 2025 at 8:36 pm #17070543

clementD-15

Hi Mihai,

this is what I get (see screenshot), it's written that it's not recommended to edit with Elementor in this case, is this normal?

editing with elementor.png
May 27, 2025 at 8:39 pm #17080667

Mihai Apetrei
WPML Supporter since 03/2018

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

Yes: please select "Edit anyway".

May 30, 2025 at 12:57 pm #17092311

clementD-15

Hi Mihai,

it worked, thank you.

So if I understand well, there is a point editing in a non-recommended language if it's for changing a file for example. But any modification in the language won't be saved as translation.

Am I right?