Ir al contenido Ir a la barra lateral

Waiting for author

Overview of the issue

When using JetSmartFilters with Elementor, you might experience the following issue: strings from JetSmartFilters’ Elementor widgets – such as the «Search» button label, «Remove Filter» text, and pagination controls like «Previous,» «Next,» and «Load More» – are not available for translation in WPML.

Workaround

Please, make sure of having a full site backup of your site before proceeding.

  • Add the following in «WPML > Settings > Custom XML Configuration» and click on «Save»:
    <wpml-config>
      <elementor-widgets>
        <widget name="jet-smart-filters-search">
          <fields>
            <field>apply_button_text</field>
          </fields>
        </widget>
        <widget name="jet-smart-filters-apply-button">
          <fields>
            <field>apply_button_text</field>
          </fields>
        </widget>
        <widget name="jet-smart-filters-remove-filters">
          <fields>
            <field>remove_filters_text</field>
          </fields>
        </widget>
        <widget name="jet-smart-filters-pagination">
          <fields>
            <field>prev_text</field>
            <field>next_text</field>
            <field>load_more_text</field>
          </fields>
        </widget>
      </elementor-widgets>
    </wpml-config>
            
  • After saving, make a small edit to each widget’s content and re-save the translations.

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>