Resolved by author
Resolved in: Litho 2.0
Overview of the issue
If you are using Litho theme and Elementor plugin, you will encounter that Litho Header and Litho Icon box widgets do not appear in the Advanced Translation Editor (ATE) for translation.
Workaround
Please, make sure of having a full backup of your site before proceeding.
- Go to WPML > Settings > Custom XML Configuration page.
- Add the following code:
<wpml-config> <elementor-widgets> <widget name="litho-icon-box"> <fields> <field type="Title" editor_type="LINE">litho_title_text</field> <field type="Description" editor_type="AREA">litho_description_text</field> <field type="Link" editor_type="LINK">litho_link>url</field> <field type="Title" editor_type="LINE">litho_primary_button_text</field> <field type="Link" editor_type="LINK">litho_primary_button_link>url</field> </fields> </widget> <widget name="litho-heading"> <fields> <field type="Title" editor_type="LINE">litho_title</field> <field type="Link" editor_type="LINK">litho_link>url</field> <field type="Title" editor_type="LINE">litho_secondary_title</field> <field type="Link" editor_type="LINK">litho_secondary_link>url</field> </fields> </widget> </elementor-widgets> </wpml-config> - Refresh your page and its translation.