WPML

Overview of the Issue

When using YITH WooCommerce Wishlist Premium with WPML, you might experience the following issue: you cannot translate the texts of the wishlist emails to customers (promotion, back in stock and on sale item). The plugin language configuration does not list these texts in the correct format. Because of this, a customer gets these emails in the default language.

Workaround

Make the texts of the customer emails translatable:

  1. Go to WPMLSettings and open the Custom XML Configuration tab.
  2. Paste the code below and click Save.
  3. Go to WPMLString Translation and translate the email subjects, headings and contents.
XML
<wpml-config>
  <admin-texts>
    <key name="woocommerce_estimate_mail_settings">
      <key name="subject" />
      <key name="heading" />
    </key>
    <key name="woocommerce_yith_wcwl_promotion_mail_settings">
      <key name="subject" />
      <key name="heading" />
      <key name="content_html" />
      <key name="content_text" />
    </key>
    <key name="woocommerce_yith_wcwl_back_in_stock_settings">
      <key name="subject" />
      <key name="heading" />
      <key name="content_html" />
      <key name="content_text" />
    </key>
    <key name="woocommerce_yith_wcwl_on_sale_item_settings">
      <key name="subject" />
      <key name="heading" />
      <key name="content_html" />
      <key name="content_text" />
    </key>
  </admin-texts>
</wpml-config>

All known issues

Need Help with This Issue?

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