Skip to content Skip to sidebar

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”:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    <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.

Leave a Reply

Please stay on topic and be respectful to others. If you need help with issues not related to this post, use our Support Forum to start a chat or submit a ticket.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>