WPML

Overview of the Issue

When using the Aelia Blacklister for WooCommerce extension on a multilingual store, a customer who is blocked at checkout in a secondary language sees the blocking message in the default language. The messages do not appear in String Translation.

Workaround

Make the blocking messages translatable:

  • Go to WPMLSettings and open the Custom XML Configuration tab.
  • Add this code and save:
    XML
    <wpml-config>
      <admin-texts>
        <key name="wc_aelia_blacklister">
          <key name="blacklisted_email_message"/>
          <key name="blacklisted_ip_message"/>
          <key name="blacklisted_phone_number_message"/>
          <key name="blacklisted_customer_name_message"/>
          <key name="blacklisted_address_message"/>
        </key>
      </admin-texts>
    </wpml-config>
  • Go to WPMLString Translation and translate the messages in the admin_texts_wc_aelia_blacklister domain.

All known issues

Need Help with This Issue?

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