콘텐츠로 건너뛰기 사이드바로 건너뛰기

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.

답글 남기기

주제에 충실하고 다른 사람들을 존중해 주세요. 이 게시물과 관련 없는 문제에 대해 도움이 필요하다면, 지원 포럼을 이용하여 채팅을 시작하거나 티켓을 제출하세요.

다음 태그를 사용할 수 있습니다:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>