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, 3 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
May 14, 2024 at 8:43 am #15624004

valentinB-22

woo-commerce images are not display after translation

May 14, 2024 at 8:51 am #15624148

valentinB-22

I have translated the site in different languages but the woo-commerce products images and some section images are not displayed. can you please me out

hidden link

May 14, 2024 at 9:16 am #15624369

Carlos Rojas
Supporter

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

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

Hello,
Thank you for contacting us

1.- I kindly ask you to share a URL where the issue with the images can be seen.

2.- I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

3.- Please provide the debug information of the site in the section that appears below this ticket.

In this link, you will find the steps to follow: https://wpml.org/faq/provide-debug-information-faster-support/

Please don't paste the debug information within the ticket

Kind regards,
Carlos

May 14, 2024 at 9:48 am #15624581

valentinB-22

Here is the logins:
***

This website is live, so please be cautious. I've utilized WPML's automatic translation feature to translate the site into five languages. However, some sections and WooCommerce images aren't appearing in languages other than French.Also please check out page and whole site translated or not.
I have spent alot of credits to translate my website but translation is not working

hidden link

hidden link

May 14, 2024 at 2:04 pm #15625795

Carlos Rojas
Supporter

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

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

Hi there,
Thank you for sharing the credentials requested.

The cause of the issue was that the custom field for the category image was incorrectly set. I went to WPML -> Settings -> Custom Term Meta Translation -> Set 'thumbnail_id' to 'Copy'.

Now you need to edit each product category in French and re-save it. It will automatically copy the image to the translated categories. -Don't forget to flush the cache memory once you finish-

Important note: Please go to hidden link and translate the first four (4) rows of slugs.

Can you confirm that the issue was solved?

May 15, 2024 at 6:28 am #15627734

valentinB-22

Since this appears to be a WPML-related problem and I've already worked extensively with automatic translation, consuming a significant amount of credits, could you please handle this for us? It's crucial that this issue is resolved promptly. Additionally, kindly ensure that all translations are functioning correctly.

May 15, 2024 at 8:14 am #15628200

Carlos Rojas
Supporter

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

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

Hello,

The steps I described won't consume any credits and are a configuration issue, not a translation issue. So I kindly ask you to follow the steps I described to solve the problem.

Let me know if you find any issues with the steps described.

May 15, 2024 at 9:50 am #15629008

valentinB-22

I've followed the steps outlined above, but certain sections aren't displaying when I translate the website into different languages, except for French, on the homepage. Could you please investigate this issue and fixed it? hidden link

Also I have try to translate it manually please check this as per above message

Important note: Please go to hidden link and translate the first four (4) rows of slugs.

May 15, 2024 at 12:17 pm #15630330

Carlos Rojas
Supporter

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

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

Thank you for following the steps described.

To solve the issue of the missing section I had to register the Elementor element by following this guide: https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/registering-custom-elementor-widgets-for-translation/

You can find the XML code for registering the element 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>

Then only step that needs to be done is to update the translated versions of the homepage so the changes can take effect. You can manually or automatically translate the homepage.

May 15, 2024 at 1:21 pm #15630624

valentinB-22

I manually translated the page into English, but unfortunately, missing sections are still not display. Could you please review and fix it into all the languages for me?
hidden link
hidden link

I have already spent lot of money in automatic translation. Please fixed this issue for me.

May 16, 2024 at 7:33 am #15633245

valentinB-22

Hey Support we are still waiting for your response on the above issue.
Please fixed above issue and provide me the update ASAP

May 16, 2024 at 8:16 am #15633587

Carlos Rojas
Supporter

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

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

Hi there,

In this case the fastest way to solve the issue is by manually editing with Elementor the translated pages and adjust the categories of the products with the correct one depending on the language.

May 16, 2024 at 9:00 am #15633908

valentinB-22

Hey

I've completed all the steps mentioned above, but I'm still unable to translate the missing sections on the homepage. It appears that there may be an issue with the WPML plugin. I've requested assistance previously, but the response time on the ticket has been lengthy. If you're unable to resolve this issue, please inform us. I've already invested a significant amount of money into this plugin and the lack of support is concerning.

May 16, 2024 at 9:14 am #15634034

Carlos Rojas
Supporter

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

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

Hey,

I can see you didn't follow the steps I described. I made the changes in the English version of the home page and attached two screenshots showing what and where to make the changes.

Please take the same steps for the rest of the translated versions of the homepage to solve the problem.

FireShot Capture 258 - Modifier « Home page » avec Elementor - stefanodesign.com.png
FireShot Capture 257 - Modifier « Home page » avec Elementor - stefanodesign.com.png
May 16, 2024 at 9:31 am #15634155

valentinB-22

When i have tried to edit in Elementor i get this message
hidden link

or if i can edit the way anyhow it will open in french
hidden link

please provide me screen-shot of steps so that i can do it myself.