Skip Navigation

Resolved

Reported for: WPML String Translation 3.2.1

Resolved in: 3.2.2

Overview of the issue

With WooCommerce Multilingual and String Translation, you can easily translate your WooCommerce emails.

Currently, users receive emails in the correct language when they make a purchase. However, if an administrator changes the order status, the user may receive some parts of the email in the default language.

Workaround

Before proceeding, be sure of making a full backup of your site.

  1. Identify the option key where the part of the email which is not translated is stored, i.e kt_woomail.
  2. Open your theme’s functions.php file.
  3. Add and adapt the following code with your option key:
    $option_key = 'kt_woomail';
    add_filter( 'option_' . $option_key, [ wpml_st_load_admin_texts(), 'icl_st_translate_admin_string' ] );
    

9 Responses to “WooCommerce E-mails are always sent in default language for any admin order status change”

    • Hello there,
      Solving this issue implies fixes not only in WooCommerce Multilingual but also WPML String Translation. That means that it will be solved in our next release of the latter.
      We will keep you updated.
      Thank you for your understanding.

  1. What if I want to use not custom mails but default WooCommerce mails in the customer’s language? What should I search for instead of “kt_woomail”?

    • Hey there,
      For custom emails this shouldn’t be necessary, you should be able to translate your emails directly from WPML > String Translation.
      If that’s not the case, please open a ticket in our support forum where we will be able to help you better.
      Regards

  2. I am having the same problem here and this is pretty annoying that customers get mixed emails with their native lang and also default lang….please hurry with a fix, or give us temporary solution.