Background of the issue:
I'm trying to translate a custom Elementor Widget that WPML doesn't translate. I downloaded the Multilingual Tool plugin (lien caché) and went to the WPML: Elementor Widgets section to copy the generated xml. I inserted the xml in WPML, Settings, Custom XML code configuration. Here is the xml I used:
repeat
ekit_all_conditions_list
ekit_adv_tooltip_content
ekit_cursor_text_label
sec_class
block_title
_id
block_bgimg>url
block_bgimg>id
block_bgimg>alt
block_bgimg>source
block_button
block_image>url
block_image>id
block_image>alt
block_image>source
block_btnlink>url
block_button1
block_btnlink1>url
block_alt_text
block_title1
block_text
address
height>unit
height>size
height>sizes
zoom>unit
zoom>size
zoom>sizes
ekit_all_conditions_list
ekit_adv_tooltip_content
ekit_cursor_text_label
Symptoms:
After inserting the xml, I see the following errors: Line: 30, Column: 0 Element 'fields-in-item': Missing child element(s). Expected is ( field ). Line: 45, Column: 0 Element 'fields-in-item': Missing child element(s). Expected is ( field ).
Questions:
How do I resolve missing 'fields-in-item' errors?
Is there a correct way to register Elementor custom widgets for translation with WPML?
|