Skip Navigation

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/
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 9:00 – 14:00 -
- 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 15:00 – 18:00 -

Supporter timezone: Asia/Dhaka (GMT+06:00)

This topic contains 3 replies, has 1 voice.

Last updated by Prosenjit Barman 1 week, 1 day ago.

Assisted by: Prosenjit Barman.

Author Posts
November 19, 2024 at 3:47 pm #16420558

evangelosB

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?

November 20, 2024 at 6:56 am #16422279

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello There,
Thanks for contacting WPML Support.

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!

Best regards,
Prosenjit

November 21, 2024 at 2:56 pm #16429788

evangelosB

Hello there!
Thanks for the quick response!

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.

Do you have other solution to provide?

Thanks a lot!

Screenshot 2024-11-21 165611.png
November 22, 2024 at 5:50 am #16431863

Prosenjit Barman
Supporter

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi There,
Thank you for the update.

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?

- https://wpml.org/documentation/support/maintaining-divi-builder-compatibility-wpml/

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.

Best regards,
Prosenjit