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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 5 replies, has 0 voices.

Last updated by Kor 1 month, 2 weeks ago.

Assisted by: Kor.

Author Posts
April 23, 2025 at 10:41 pm #16962196

vitoG-4

Background of the issue:
I'm trying to translate Elementor widgets from the JWS theme using WPML. Specifically, I want to translate content inside widgets like jws_banner, jws_button_advanced, and jws_advanced_heading. Following your documentation, I added the necessary XML config under WPML → Settings → Custom XML Configuration, to register the widget fields as translatable. Here is the XML I added: <wpml-config> <elementor-widgets> <widget name="jws_button_advanced"> <fields> <field>title</field> <field>title_secondary</field> </fields> </widget> <widget name="jws_advanced_heading"> <fields> <field>advanced_text_content</field> <field>content</field> <field>items</field> </fields> </widget> <widget name="jws_banner"> <fields-in-item items_of="list"> <field>text1</field> <field>_id</field> <field>image>url</field> <field>image>id</field> <field>image>size</field> <field>image>alt</field> <field>image>source</field> <field>image_size</field> <field>text2</field> <field>text3</field> <field>link_url>url</field> </fields-in-item> </widget> </elementor-widgets> </wpml-config> I saved the settings, cleared all caches, and refreshed the translations.

Symptoms:
The strings still do not appear in the WPML Translation Editor.

Questions:
Could you please help me understand what’s missing or why WPML is not detecting the strings?

April 24, 2025 at 12:58 am #16962291

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us.

The custom XML configuration looks correct. After you've inserted the custom XML configuration in WPML > Settings > custom XML configuration, did you resave the original language page? You need to do this so that the Advanced Translation Editor can rescan the page contents using the custom XML configuration.

Let me know how it goes.

April 24, 2025 at 1:00 am #16962296
vitoG-4

ok thanks let me try

April 24, 2025 at 2:12 pm #16964851

vitoG-4

The most widget are working just jws_button_advanced, even if I added the field text, I can't see in wpml editor... here the example

<wpml-config>
<elementor-widgets>
<widget name="jws_button_advanced">
<fields>
<field>title</field>
<field>title_secondary</field>
<field>text</field>
</fields>
</widget>
<widget name="jws_advanced_heading">
<fields>
<field>advanced_text_content</field>
<field>content</field>
<field>items</field>
</fields>
</widget>
<widget name="jws_banner">
<fields-in-item items_of="list">
<field>text1</field>
<field>_id</field>
<field>image>url</field>
<field>image>id</field>
<field>image>size</field>
<field>image>alt</field>
<field>image>source</field>
<field>image_size</field>
<field>text2</field>
<field>text3</field>
<field>link_url>url</field>
</fields-in-item>
</widget>
</elementor-widgets>
</wpml-config>

---
[widgetType] => jws_button_advanced
)

[4] => stdClass Object
(
[id] => 07a32d2
[elType] => widget
[settings] => stdClass Object
(
[view] => inline
[icon_list] => Array
(
[0] => stdClass Object
(
[text] => Exclusive Destinations
[selected_icon] => stdClass Object
(
[value] =>
[library] =>
)

[_id] => 895253a
[link] => stdClass Object
(
[url] => ##bp_members_search##New%20York
[is_external] =>
[nofollow] =>
[custom_attributes] =>
)

)

[1] => stdClass Object
(
[text] => Private Connections
[selected_icon] => stdClass Object
(
[value] =>
[library] =>
)

[link] => stdClass Object
(
[url] => #
[is_external] =>
[nofollow] =>
[custom_attributes] =>
)

[_id] => ae09190
)

[2] => stdClass Object
(
[text] => Mutual Rewards
[selected_icon] => stdClass Object
(
[value] =>
[library] =>
)

[link] => stdClass Object
(
[url] => #
[is_external] =>
[nofollow] =>
[custom_attributes] =>
)

[_id] => 9ace177
)

April 24, 2025 at 3:13 pm #16965101

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

May 7, 2025 at 3:41 pm #17007616

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply.

I'd like you to know that our support policy allows us to take care of only one issue per ticket.

Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.

So, I've split the tickets here for your remaining issues so that we can follow up.

https://wpml.org/forums/topic/footer-header-sidebar-and-popups-are-not-showing-the-correct-language/

https://wpml.org/forums/topic/mediapress-galleries-not-working-correctly/

As for this ticket, please mark it as resolved if you're able to correctly translate the Elementor widgets from the JWS theme

The topic ‘[Closed] Widget translations from JWS theme not appearing in WPML editor’ is closed to new replies.