This thread is resolved. Here is a description of the problem and solution.
Problem: You are trying to upload the French version of the logo for your bilingual site using WPML Media Translation, but the English logo remains on the French website despite following the media translation instructions. Solution: We recommend inserting the following custom PHP code into your theme's functions.php file to ensure the French logo appears on the French version of the site:
After adding this code, please refresh your page, and the logo should display correctly.
If this solution does not resolve your issue or 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 the problem persists, 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.
Background of the issue:
I am trying to upload the French version of the logo for my bilingual site (English and French) using WPML Media Translation. I followed the instructions from this link: https://wpml.org/documentation/getting-started-guide/media-translation/. I have already translated the Elementor header and footer template text where the logo image resides. I have also cloned the website and deactivated all plugins (except WPML ones) and switched to the Twenty Twenty Five theme yet the issue remains.
Symptoms:
After completing the upload and scan step in Media Translation, the English logo remains on the French website instead of the French logo. There is no error message.
Questions:
Why does the English logo remain on the French website after following the media translation instructions?
How can I ensure the French logo appears on the French version of the site?
There might be some cache going on here, and could you please clear your Website cache and also Elementor cache in tools? You can locate the option in WP > Elementor > Tools > Regenerate Files & Data.
Thanks for your reply. I took the steps you suggested but the issue remains. I've checked the site on multiple devices/browsers so it's not a local caching issue either. Please advise.
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.
I can replicate the issue on our sandbox site here hidden link . I will escalate this to our 2nd Tier Support for further investigation. I will come back to you once I've feedback.
Thank you for your patience. Our 2nd Tier Support has reviewed the issue, and they recommend inserting the custom PHP code below into your theme's functions.php file. After adding the code, refresh the page, and the logo should display correctly.