Saltar al contenido Saltar a la barra lateral

Waiting for author

Topic Tags: Compatibility

Overview of the issue

When using the WP Residence theme with WPML, certain Elementor form widgets, such as WpResidence_Search_Form_Builder and WpResidence_Contact_Form_Builder, are not registered for translation. As a result, their text fields are not available in our Translation Editor.

Workaround

  • Go to WPML > Settings > Custom XML Configuration in your WordPress dashboard.
  • Add the following XML configuration and save:
    <wpml-config>
      <elementor-widgets>
        <widget name="WpResidence_Search_Form_Builder">
          <fields>
            <field>form_field_use_tabs</field>
            <field>form_fields</field>
            <field>form_field_section_title_text</field>
            <field>submit_button_text</field>
          </fields>
          <fields-in-item items_of="form_fields">
            <field>field_label</field>
            <field>placeholder</field>
          </fields-in-item>
        </widget>
        <widget name="WpResidence_Contact_Form_Builder">
          <fields>
            <field>form_fields</field>
            <field>gdpr_text</field>
            <field>submit_button_text</field>
            <field>email_to</field>
            <field>email_subject</field>
          </fields>
          <fields-in-item items_of="form_fields">
            <field>field_label</field>
            <field>placeholder</field>
          </fields-in-item>
        </widget>
      </elementor-widgets>
    </wpml-config>
            

Dejar una respuesta

Por favor, mantente en el tema y sé respetuoso con los demás. Si necesitas ayuda con problemas no relacionados con esta publicación, utiliza nuestro Foro de Soporte para iniciar un chat o enviar un ticket.

Puedes usar estas etiquetas:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>