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.

This topic contains 1 reply, has 2 voices.

Last updated by Long Nguyen 1 year, 3 months ago.

Assisted by: Long Nguyen.

Author Posts
August 15, 2023 at 6:32 pm #14204923

muhammad-sohailR-2

<wpml-config>
<elementor-widgets>
<widget name="jkit_icon_box">
<fields>
<field type="Title" editor_type="LINE">sg_icon_text</field>
<field type="Title" editor_type="LINE">sg_icon_description</field>
<field type="Title" editor_type="LINE">sg_readmore_button_label</field>
<field type="Title" editor_type="LINE">sg_badge_text</field>
<field type="Url" editor_type="LINK">sg_readmore_globallink>url</field>
</fields>
</widget>
<widget name="jkit_portfolio_gallery">
<fields-in-item items_of="sg_gallery_list">
<field type="Title" editor_type="LINE">sg_gallery_list_title</field>
<field type="Title" editor_type="LINE">sg_gallery_list_subtitle</field>
<field type="Title" editor_type="LINE">sg_gallery_list_more_text</field>
<field type="Url" editor_type="LINK">sg_gallery_list_more_link>url</field>
</fields-in-item>
</widget>

Below lines doesn't work
<widget name="jkit_accordion">
<fields-in-item items_of="sg_accordion">
<field type="Title" editor_type="LINE">sg_accordion_list_title</field>
<field type="Title" editor_type="LINE">sg_accordion_list_description</field>
</fields-in-item>
</widget>

</elementor-widgets>
</wpml-config>

August 16, 2023 at 9:16 am #14207819

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Muhammad,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

I understand you want to register an Elementor widget "jkit_accordion" for translation. Please follow the documentation below to register it
https://wpml.org/documentation/support/language-configuration-files/how-to-register-page-builder-widgets-for-translation/

If it still does not work, you can use this plugin JSM Show Post Metadata and share the custom field value "_elementor_data". I will help you to fix the custom XML configuration code.
https://wordpress.org/plugins/jsm-show-post-meta/

Look forward to your reply.
Thanks