Skip to content Skip to sidebar

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

Problem:
The client is experiencing an issue where the fields such as ETHNICITY, AGE, HAIR, etc., on a French page are displayed in English when hovering over elements, despite being on the translated page.

Solution:
First, we identified that the client is using the ICON List Elementor widget to list the details. We then provided a custom WPML language configuration to be added in WPML>>Settings>>Custom XML Configuration:

<wpml-config>
  <elementor-widgets>
    <widget name="icon-list">
      <fields-in-item items_of="icon_list">
        <field>text</field>
        <field>selected_icon>value</field>
        <field>selected_icon>library</field>
        <field>_id</field>
        <field>__dynamic__>text</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

After adding the configuration, we advised the client to update both templates in the original language after a minor edit to refresh the translation settings and then update its translation. We also suggested clearing all types of caches to ensure the issue is resolved.

In a follow-up, we noted that the issue might be related to cache, as it was working as expected on our end. We recommended the client to clear all types of caches again and check if the issue persists.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, 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.

Tagged: ,

This topic contains 4 replies, has 2 voices.

Last updated by Bigul 1 year, 10 months ago.

Assisted by: Bigul.

Author Posts
April 9, 2024 at 9:27 am #15497850

dominicS-15

Hello,

As you can see in the attached screenshot, I am visiting the French page. However, when I hover over any girl, all of the fields such as ETHNICITY, AGE, HAIR, etc., are displayed in English. That's not right. Please take another look and let me know how can I fix it.

Thanks!

15495745-Screenshot_113_.png
April 9, 2024 at 10:05 am #15498213

Bigul

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

It looks like you are using one of the following templates to list the Girls widget. It uses ICON List Elementor widget to list the details like ETHNICITY, AGE, HAIR, etc... Please check the attached images for more details.

hidden link

hidden link

So I have added the following WPML language configuration for it in WPML>>Settings>>Custom XML Configuration.

<wpml-config>
  <elementor-widgets>
    <widget name="icon-list">
      <fields-in-item items_of="icon_list">
        <field>text</field>
        <field>selected_icon>value</field>
        <field>selected_icon>library</field>
        <field>_id</field>
        <field>__dynamic__>text</field>
      </fields-in-item>
    </widget>
  </elementor-widgets>
</wpml-config>

So please update both templates in original language after a minor edit(to refresh the translation settings) and update its translation. Then clear all types of caches and make sure the issue exists or not.

--
Thanks!

Bigul

2024-04-09_14h55_40.png
2024-04-09_14h54_53.png
April 9, 2024 at 5:01 pm #15500426

dominicS-15

Hello
Hope you are doing well.

I followed the above instructions but the result is same.

April 10, 2024 at 6:04 am #15502122

Bigul

Hello,

Thank you for the feedback. I am consulting with our team for an expert opinion on this. We will get back to you as early as possible. Please wait.

--
Thanks!

Bigul

April 10, 2024 at 7:16 am #15502385

Bigul

Hello,

This looks like a cache issue. It is working as expected here now. Please check the following screencast for more details.

hidden link

So please clear all types of caches and ensure the issue exists or not.

--
Thanks!

Bigul