Resolved by author
Overview of the issue
If you are using the Login Form widget that comes with the Ultimate Addons for Elementor plugin, you won’t be able to translate the “Redirect After Login” and “Redirect After Logout” URL fields from the form.
Workaround
Please, make sure of having a full site backup of your site before proceeding.
- Go to WPML > Settings > Custom XML Configuration page.
- Add the following XML:
<wpml-config> <elementor-widgets> <widget name="uael-login-form"> <fields> <field type="Login Form: Username Label" editor_type="LINE">user_label</field> <field type="Login Form: Username Placeholder" editor_type="LINE">user_placeholder</field> <field type="Login Form: Password Label" editor_type="LINE">password_label</field> <field type="Login Form: Password Placeholder" editor_type="LINE">password_placeholder</field> <field type="Login Form: Separator Line Text" editor_type="LINE">separator_line_text</field> <field type="Login Form: Button Text" editor_type="LINE">button_text</field> <field type="Login Form: Register Text" editor_type="LINE">show_register_text</field> <field type="Login Form: Lost your password Text" editor_type="LINE">show_lost_password_text</field> <field type="Login Form: Redirect URL After Login" editor_type="LINK">redirect_url>url</field> <field type="Login Form: Redirect URL After Logout" editor_type="LINK">redirect_logout_url>url</field> </fields> </widget> </elementor-widgets> </wpml-config>
- Refresh your translation job by sending it again from the Translation Management board or adding a meaningless change in the original page.