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.

Our wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 13:00 9:00 – 13:00 9:00 – 13:00 8:00 – 12:00 8:00 – 12:00 -
- 14:00 – 17:00 14:00 – 18:00 14:00 – 18:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 1 reply, has 0 voices.

Last updated by Bruno Kos 2 days, 12 hours ago.

Assisted by: Bruno Kos.

Author Posts
April 1, 2025 at 4:39 pm #16883954

Sergio

Background of the issue:
I am using Elementor with WPML on my site. I have a loop carousel and I want it to read a different custom field for different languages.

I am experiencing an issue with displaying different custom fields (najblizszytermin for Polish and najblizszytermin_en for English) in an Elementor Loop Carousel.

I have configured the Loop Carousel widget to read a custom field called najblizszytermin for the Polish version of the website. In the English version, I have changed the setting to read a different custom field called najblizszytermin_en.

Symptoms:
The custom field changes for one language also affect the other language.The problem is that when I update the custom field setting in the English version of the Elementor Loop Carousel, it also changes the setting for the Polish version. It seems that the widget configuration is shared between languages, and I am unable to make them independent.

Questions:
How can I configure the loop carousel to read different custom fields for different languages?

April 2, 2025 at 7:46 am #16885645

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Hi,

Such fields will always synchronize once original is updated and then the translation. But you can try this:
https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/#how-to-use-manual-translation

This should remove this synchronization.

April 2, 2025 at 8:02 am #16885756

Sergio

Unfortunately I was already using manual translation. I changed it back and forth, but still the same.
Maybe there is some other option to disable to copying of settings?

Please help to make the date in English in the English version.

I mean the date in the screenshot attached, which is in the homepage hidden link

Screenshot 2025-04-02 at 10.01.11.png
April 2, 2025 at 9:23 am #16886079

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

What if you try to extract this field only? It is to be done like this.

https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/#generating-xml-code-with-the-wpml-config-generator

You would end up with something like this:

<wpml-config>
  <elementor-widgets>
    <widget name="heading">
      <fields>
        <field>title</field>
      </fields>
    </widget>
    <widget name="button">
      <fields>
        <field>text</field>
      </fields>
    </widget>
  </elementor-widgets>
</wpml-config>

This would make any of your fields translatable in translation editor, including that one.

Make sure to test your XML like this:
https://wpml.org/documentation/support/multilingual-tools/registering-custom-elementor-widgets-for-translation/#testing-the-automatically-generated-xml-code

April 2, 2025 at 9:45 am #16886296

Sergio

The guide is not clear.
It says "Create a new page and click on Edit with Elementor" - what if I already have a page with the widget?

Also "Add the custom widgets you want to register for translation to the page." - should it be on the original language page, or on the second language page?

Also "Scroll down to the section labeled WPML: Elementor Widgets." - In the wordpress edit page I don't have any field called "WPML: Elementor Widgets."

Can you please help?

April 2, 2025 at 11:23 am #16886592

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

It can be done on an existing page too.

First you need to install this plugin:
hidden link

Only then this box will show up. It will appear on the original page.

original page.png
download zip.png
April 2, 2025 at 12:15 pm #16886923

Sergio

Done.
I copied the XML to the Custom XML configuration.
Here is the xml:

```
<wpml-config>
<elementor-widgets>
<widget name="loop-carousel">
<fields>
<field>content_width</field>
<field>template_id</field>
<field>post_query_include</field>
<field>post_taxonomy_posts_ids</field>
<field>post_taxonomy_exclude_ids</field>
<field>post_taxonomy_query_filter_by</field>
<field>post_query_include_term_ids</field>
<field>post_query_order</field>
<field>_padding>unit</field>
<field>_padding>top</field>
<field>_padding>right</field>
<field>_padding>bottom</field>
<field>_padding>left</field>
<field>_padding>isLinked</field>
<field>__globals__>dots_normal_color</field>
<field>__globals__>arrow_normal_color</field>
<field>arrows_position</field>
<field>dots_custom_position</field>
<field>_margin>unit</field>
<field>_margin>top</field>
<field>_margin>right</field>
<field>_margin>bottom</field>
<field>_margin>left</field>
<field>_margin>isLinked</field>
<field>post_query_post_type</field>
<field>post_query_posts_ids</field>
<field>custom_css</field>
<field>post_query_query_id</field>
<field>post_taxonomy_term_taxonomy_id</field>
<field>_background_color_stop_tablet>unit</field>
<field>_background_color_stop_tablet>size</field>
<field>_background_color_stop_tablet>sizes</field>
<field>_background_color_stop_mobile>unit</field>
<field>_background_color_stop_mobile>size</field>
<field>_background_color_stop_mobile>sizes</field>
<field>_background_color_b_stop_tablet>unit</field>
<field>_background_color_b_stop_tablet>size</field>
<field>_background_color_b_stop_tablet>sizes</field>
<field>_background_color_b_stop_mobile>unit</field>
<field>_background_color_b_stop_mobile>size</field>
<field>_background_color_b_stop_mobile>sizes</field>
<field>_background_gradient_angle_tablet>unit</field>
<field>_background_gradient_angle_tablet>size</field>
<field>_background_gradient_angle_tablet>sizes</field>
<field>_background_gradient_angle_mobile>unit</field>
<field>_background_gradient_angle_mobile>size</field>
<field>_background_gradient_angle_mobile>sizes</field>
<field>_background_hover_color_stop_tablet>unit</field>
<field>_background_hover_color_stop_tablet>size</field>
<field>_background_hover_color_stop_tablet>sizes</field>
<field>_background_hover_color_stop_mobile>unit</field>
<field>_background_hover_color_stop_mobile>size</field>
<field>_background_hover_color_stop_mobile>sizes</field>
<field>_background_hover_color_b_stop_tablet>unit</field>
<field>_background_hover_color_b_stop_tablet>size</field>
<field>_background_hover_color_b_stop_tablet>sizes</field>
<field>_background_hover_color_b_stop_mobile>unit</field>
<field>_background_hover_color_b_stop_mobile>size</field>
<field>_background_hover_color_b_stop_mobile>sizes</field>
<field>_background_hover_gradient_angle_tablet>unit</field>
<field>_background_hover_gradient_angle_tablet>size</field>
<field>_background_hover_gradient_angle_tablet>sizes</field>
<field>_background_hover_gradient_angle_mobile>unit</field>
<field>_background_hover_gradient_angle_mobile>size</field>
<field>_background_hover_gradient_angle_mobile>sizes</field>
</fields>
<fields-in-item items_of="post_query_include"/>
<fields-in-item items_of="post_taxonomy_posts_ids"/>
<fields-in-item items_of="post_taxonomy_exclude_ids"/>
<fields-in-item items_of="post_query_include_term_ids"/>
<fields-in-item items_of="post_query_posts_ids"/>
</widget>
<widget name="gallery">
<fields>
<field>gallery</field>
<field>galleries</field>
<field>show_all_galleries_label</field>
<field>_margin>unit</field>
<field>_margin>top</field>
<field>_margin>right</field>
<field>_margin>bottom</field>
<field>_margin>left</field>
<field>_margin>isLinked</field>
<field>_margin_tablet>unit</field>
<field>_margin_tablet>top</field>
<field>_margin_tablet>right</field>
<field>_margin_tablet>bottom</field>
<field>_margin_tablet>left</field>
<field>_margin_tablet>isLinked</field>
<field>_margin_mobile>unit</field>
<field>_margin_mobile>top</field>
<field>_margin_mobile>right</field>
<field>_margin_mobile>bottom</field>
<field>_margin_mobile>left</field>
<field>_margin_mobile>isLinked</field>
<field>_element_width</field>
<field>_element_custom_width>unit</field>
<field>_element_custom_width>size</field>
<field>_element_custom_width>sizes</field>
<field>gallery_layout</field>
<field>columns</field>
<field>overlay_title</field>
<field>gap>unit</field>
<field>gap>size</field>
<field>gap>sizes</field>
<field>thumbnail_image_size</field>
<field>__globals__>title_color</field>
<field>__globals__>overlay_background_color</field>
<field>image_blend_mode</field>
<field>custom_css</field>
<field>gap_tablet>unit</field>
<field>gap_tablet>size</field>
<field>gap_tablet>sizes</field>
<field>gap_mobile>unit</field>
<field>gap_mobile>size</field>
<field>gap_mobile>sizes</field>
<field>overlay_background_background</field>
</fields>
<fields-in-item items_of="gallery">
<field>id</field>
<field>url</field>
</fields-in-item>
<fields-in-item items_of="galleries">
<field>gallery_title</field>
<field>_id</field>
<field>index</field>
</fields-in-item>
</widget>
</elementor-widgets>
</wpml-config>
```

And I get errors as in the screenshot.

What now?

Screenshot 2025-04-02 at 14.15.10.png
April 2, 2025 at 12:42 pm #16887038

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Would you be willing to provide me with WordPress credentials so I could investigate the issue directly?

And send me this info:

- where is this template (backend URL)
- let me know the name of the field that you want to translate
- what is the original value of the field and what should be the translation of it

For the test I may briefly activate advanced translation editor to see if we can translate this field and observe the changes.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

I marked your next reply as private so that you can safely add credentials.

April 3, 2025 at 7:16 am #16890146

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I get "Błąd: wpisano niepoprawne hasło dla użytkownika wpmlsupp.", can you recreate the password?

April 3, 2025 at 12:34 pm #16892173

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I created a translation of the template.

hidden link

It is being translated manually, I was not able to locate the field even through XML. But this template did not have translation at all. This is what I see now on hidden link, is this how it is supposed to work?

April 3, 2025 at 1:35 pm #16892667

Sergio

Great news—it’s working perfectly! The Polish site displays the date as “5 kwietnia 2025,” while the English version correctly shows “April 5, 2027,” sourced from the custom field najblizszytermin_en. Everything looks good.

Could you please share how you resolved this? I have a similar loop on another subpage, and I'd like to implement the fix independently.

Also, a small request: Please remove the photo you attached in the previous post. It includes visible people, which could raise privacy concerns. To avoid such issues, I’ve been sharing screenshots without identifiable individuals.

Thanks again for your help!

April 4, 2025 at 4:45 am #16895092

Bruno Kos
Supporter

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

I removed the image. As for what I did - I simply activated manual translation for that loop template and set the custom field value to English one.

You can do it for the other template like this - see my image - and them simply add the English custom field as you did the Polish one.

step-2-arrow-this-page-1.jpg