This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is unable to display SVG images on the translated pages of their website using WPML. Despite applying a known workaround, the SVG images still do not appear on the translated version of the page.
Solution:
We recommend the following steps to resolve the issue:
1. Add the workaround from the errata to your theme's
functions.php
file. You can find the workaround here: WPML Errata on SVG Support.
2. Update the homepage in the original language by making a minor edit (e.g., adding a space at the end of a paragraph).
3. Update the translation of the homepage by opening it in the Advanced Translation Editor (ATE) and clicking 'Completed', even if no changes are made.
If the SVG images display correctly after these steps, begin reactivating other plugins one at a time or in small groups on your development site to identify any conflicts. Once the issue reappears, note which plugin was last activated as it may be causing the conflict.
If this solution does not resolve your issue or seems outdated, or if it does not apply 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 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.
This topic contains 0 replies, has 2 voices.
Last updated by 3 weeks, 2 days ago.
Assisted by: Lauren.