Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client reported that WooCommerce product images and some section images were not displaying after translating the site into multiple languages. Additionally, certain sections were not displaying correctly on the homepage in languages other than French.
Solution:
Firstly, we addressed the issue with the WooCommerce product images not displaying. We identified that the custom field for the category image was incorrectly set. We recommended setting 'thumbnail_id' to 'Copy' in WPML -> Settings -> Custom Term Meta Translation. The client needed to edit each product category in French and re-save it to automatically copy the image to the translated categories. It was also important to flush the cache memory after completing these steps.

For the sections not displaying correctly, the issue was with an Elementor element that needed registration for translation. We provided guidance on registering the custom Elementor widgets for translation by following the guide at https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/. Additionally, we provided the necessary XML code to be added in WPML -> Settings -> Custom XML Configuration tab:

<wpml-config><elementor-widgets><widget name="woocommerce-products"><fields><field>query_include</field><field>query_include_term_ids</field><field>query_exclude</field><field>query_exclude_ids</field><field>rows</field><field>products_related_products_title_text</field><field>products_upsells_title_text</field><field>products_cross_sells_title_text</field></fields></widget></elementor-widgets></wpml-config>

The client was advised to update the translated versions of the homepage for the changes to take effect.

If this solution does not resolve your issue, or if it seems outdated or irrelevant 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 further assistance is needed, please open a new support ticket at https://wpml.org/forums/forum/english-support/.

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.

Tagged: 

This topic contains 19 replies, has 2 voices.

Last updated by Carlos Rojas 6 months, 1 week ago.

Assisted by: Carlos Rojas.

Author Posts
May 16, 2024 at 9:52 am #15634222

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

I created a video showing how to open with Elementor every version of the homepage and where to change the product category to show the products correctly: hidden link

May 20, 2024 at 9:19 am #15644349

valentinB-22

Can you please help me for translation in this checkout page payment fields in all the languages as per my websites

hidden link

hidden link

May 20, 2024 at 9:56 am #15644550

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

I'm more than happy to help you translate the strings from the checkout page, but as the original issue is solved and we can only solve one issue per ticket, I kindly ask you to open a new ticket or chat and assign it directly to me. That way we will be following our support directives.

In the meantime, I recommend you to follow the steps described in this guide: https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/ to find and translate the strings that don't appear in String Translation.

Thank you very much for your understanding!

May 20, 2024 at 10:00 am #15644615

valentinB-22

how can i chat with you there i have not found any options here?

May 20, 2024 at 10:02 am #15644619

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

You will have to close this ticket and then open a chat, as described in this guide: https://wpml.org/announcements/2018/11/chat-support-for-wpml/