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
9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

This topic contains 0 replies, has 0 voices.

Last updated by justinK-16 16 hours, 7 minutes ago.

Assisted by: Christopher Amirian.

Author Posts
April 24, 2025 at 8:06 am #16962938

justinK-16

Background of the issue:
I am trying to translate a Custom Field added to Elementor Pro from a Plugin. I cannot locate this in either String Translation or Admin Texts. I am not sure how to translate this or whether it needs to be added/registered in XML. The issue can be seen on this page: hidden link

Symptoms:
I expected to see 'Listings Found' to either appear in String Translation or the ATE to Translate. Instead, I just can't locate it.

Questions:
How can I translate a Custom Field added to Elementor Pro from a Plugin?
Does the Custom Field need to be added or registered in XML for translation?

April 24, 2025 at 8:16 am #16963089

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Welcome to WPML support. There is a need to have compatibility with WPML when you use a custom widget in Elementor.

The developers of the Elementor addon need to create an XML file and add to the root folder of their plugin.

Here is how to create the XML code:

https://wpml.org/documentation/plugins-compatibility/elementor/how-to-add-wpml-support-to-custom-elementor-widgets/

If it is a matter of just one widget and field, I can try to see if I can generate the XML code for you.

YOu will be able to add it to WPML > Settings > Custom XML Code (tab)

I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

Thanks.

April 27, 2025 at 6:18 pm #16972645

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Justin,

I installed the Multilingual Tools plugin and found the field name and added the proper code to the settings:

<wpml-config>
  <elementor-widgets>
    <widget name="image">
      <fields>
        <field>image>alt</field>
        <field>link>url</field>
      </fields>
    </widget>
    <widget name="directorist_all_listing">
      <fields>
        <field>header_title</field>
      </fields>
    </widget>    
  </elementor-widgets>
</wpml-config>

You can see the result as an example in French here:

hidden link

Thanks.

April 29, 2025 at 2:53 pm #16979873

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Our partnership lead asked us to try to replicate the issue on a clean installation as the plugin in question is listed in our compatible list:

https://wpml.org/plugin/directorist-business-directory-plugin/

Would you please install the Directionist plugin on the WordPress installation below?

hidden link

Thanks.

April 29, 2025 at 4:37 pm #16980328

justinK-16

Hi Christopher

I installed the Directorist plugin (it is just the free version) and added some demo listings and pages on install.

If you of to WP Dashboard > Pages > All Listings, you will see it is a page created by Directorist shortcode. Although when using Elementor, it is possible to add an All Listings Widget that is configurable.

I have highlighted the equivalent field in the screenshot from the All Listings page.
hidden link

Let me know if you need anything else.

Thanks for the quick fix with the XML 🙂

Screenshot 2025-04-29 183612.jpg
April 29, 2025 at 5:16 pm #16980454

justinK-16

By the way I have just noticed another one from Directorist - in case your team want to look into this.

It is the word Listings - they will be able to find it on the Single Location page - again, it is also a Directorist widget available in Elementor.

Screenshot 2025-04-29 191320.jpg