This thread is resolved. Here is a description of the problem and solution.
Problem:
The client installed WPML Media Translation and encountered an issue where a button linked to a PDF in the English version of their site does not automatically update to link to the translated PDF when switching languages. The client inquired whether this behavior is expected or if there is a setting that allows the button to dynamically link to the translated PDF.
Solution:
We explained that WPML does not automatically replace media file links within buttons or content, as these links are treated as static content. To resolve this, the client needs to manually update the link in the translated button version to ensure it points to the correct PDF for that language. This can be done if the button is added through the WordPress block editor or a page builder by editing the translated version and updating the link accordingly. Additionally, we suggested checking the how to translate links documentation and specifically the Translate link targets option to see if it might offer a solution, although it may not support PDF links directly.
If this solution does not apply because it is outdated or not relevant to your case, 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 issues persist, please open a new support ticket.
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 is split from https://wpml.org/forums/topic/issue-activating-otgs-installer-installing-media-translation/
This topic contains 7 replies, has 0 voices.
Last updated by 1 month, 1 week ago.
Assisted by: Mihai Apetrei.