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

Supporter timezone: Africa/Cairo (GMT+03:00)

This topic contains 1 reply, has 2 voices.

Last updated by Dražen Duvnjak 8 months ago.

Assisted by: Osama Mersal.

Author Posts
August 25, 2023 at 9:47 pm #14293923

mauricioS-4

I am trying to: Translate custom elementor widget of a theme
I already tried to add the custom xml for this but it doesn't work. I'm familiar on this works, but for loop inside of a loop I can't do it or if I split them in two different tags, it doesn't work. For instance:

<widget name="trx_sc_price">
<fields-in-item items_of="sc_price_item">
<field editor_type="LINE">title</field>
<field editor_type="AREA">detail</field>
<field editor_type="LINE">link>url</field>
</fields-in-item>
<fields-in-item items_of="sc_price_item_price">
<field editor_type="LINE">before</field>
<field editor_type="LINE">value</field>
<field editor_type="LINE">after</field>
</fields-in-item>
</widget>
sc_price_item_price is INSIDE of sc_price_item but I can't add a fields-in-item inside of another fields-in-item tag.

Link to a page where the issue can be seen: Private

I expected to see: Information available to translate on ATE

Instead, I got: Nothing related to the widget is shown on ATE

August 28, 2023 at 6:16 am #14297249

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons.

You can access the WordPress dashboard using the link below:
- hidden link

Kindly follow the steps below:
- Set up WPML
- Install the necessary plugins.
- Try to replicate the issue with simple example
- Share with us step by step guide on how can I check the issue

Regards,
Drazen

The topic ‘[Closed] Can't translate items of a loop inside of a loop (elementor xml)’ is closed to new replies.