Home›Support›English Support›[Waiting for user feedback] I need help resolving an issue with Media Translation in WPML. Even after completing the media trans...
[Waiting for user feedback] I need help resolving an issue with Media Translation in WPML. Even after completing the media trans...
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
Background of the issue:
I am trying to display the appropriate translated images on my website’s translated pages using WPML. I have used the Media Translation feature to upload and link the translated images, and I’ve ensured that the images are properly assigned to their respective languages. I have followed the WPML Media Translation documentation to ensure that I am translating the images correctly.
Symptoms:
Even after completing the media translation process correctly, the images on the translated pages do not update as expected. On the front end, the original images still appear instead of the translated versions.
Questions:
Why are the translated images not appearing on the translated pages despite following the WPML Media Translation documentation?
What additional steps can I take to ensure that the translated images are displayed correctly on the front end?
I understand the issue you're facing. The appearance of the image added through media translation depends on how the default image was added to the page or post. If the image was inserted using the default Image block in WordPress or selected via the WordPress media selector within the editor, the translated image should appear on the frontend without any issues.
However, if the image was linked using an anchor tag or added through a field that directly links to the image, media translation won't work in such cases, and the translated image will not appear.
However, I checked your site and found that the image that you're trying to translate is the logo of your site. Since the logo is being added through the settings, please try the following steps and check if they helps in translating the logo::
1. Go to "Media > Library".
2. Open both the default and translated images, and copy their IDs (you can see the ID in the URL bar).
3. Navigate to "WPML > String Translation".
4. Scroll down and click on "Translate texts in admin screens »".
5. Once the page loads, enter the ID of the default logo image in the search box.
6. If the ID appears in the results, select the string and click on "Add to String Translation".
7. Return to "WPML > String Translation".
8. The ID should now be at the top. Click the "+" icon under the language flag to add a translation.
9. In the translation box, enter the ID of the translated image you copied earlier, then click outside the box to save.
The steps should translate the image ID and display it correctly on the frontend in each language. Please try and let me know how it goes. If you need further assistance or clarification on any of the steps, please feel free to reach out — I’d be glad to help!
The solution you gave me didn't worked for me. I tried to search for the logo inside this section "Translate texts in admin screens" but I couldn't find it.
The same problem for the translation I have with a button's text inside the same Global Header Menu I created inside the Divi Builder using the Divi Pixel Plugin.
There is a button that says "Κλείστε ραντεβού" which means "Book an appointment" but I can't find a way to translate it.
I took a closer look and found that the header is created using modules from the "Divi Flash" plugin. Please note that this plugin is not listed in WPML's compatibility directory. Therefore, it is difficult to guarantee that the modules from this plugin fully support WPML for translating content within the module and displaying the translated content on the frontend.
We have a detailed guide with extensive information on registering Divi modules for translation. Could you please review the guide below and check whether the necessary translation support has been added for the modules?
If not, you can register the module for translation. Once done, proceed to translate the Global Header template. This will allow all the content from the "Divi Flash" module to appear in the translation editor and you will be able to translate the module's content. They will also appear correctly on the front end.
You can also reach out to the Divi Flash plugin support team for assistance with this matter. They may be aware of similar cases and could provide suggestions for resolving the issue. Additionally, you can encourage them to join WPML's Go Global Program to ensure full compatibility with WPML.
I hope you can understand. Feel free to let me know if you need further assistance or clarification in this matter. I'll be happy to help.