WPML

Overview of the Issue

When using WooCommerce Wishlists with WPML, some texts stay in the default language on translated pages:

  • The Saved State Text, the Previous Ordered Column Heading and the Save for later button text.
  • The subject, heading and additional content of the Wishlist Sharing email.

These texts are not in WPMLString Translation.

Workaround

Make the texts translatable:

  • Go to WPMLSettings and open the Custom XML Configuration tab.
  • Add this code and save:
    XML
    <wpml-config>
      <admin-texts>
        <key name="wc_wishlist_saved_text"/>
        <key name="wc_wishlist_show_previously_ordered_column_heading"/>
        <key name="wc_wishlists_save_for_later_text"/>
        <key name="woocommerce_wc_wishlist_email_share_list_settings">
          <key name="subject"/>
          <key name="heading"/>
          <key name="additional_content"/>
        </key>
      </admin-texts>
    </wpml-config>
  • Go to WPMLString Translation and translate the texts in the admin_texts_wc_wishlist_saved_text, admin_texts_wc_wishlist_show_previously_ordered_column_heading, admin_texts_wc_wishlists_save_for_later_text and admin_texts_woocommerce_wc_wishlist_email_share_list_settings domains.

All known issues

Need Help with This Issue?

Ask a support question and we’ll look into it with you.