Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

Emails without order not translated correctly #556

@cebbinger

Description

@cebbinger

I tried to add and translate additional content to some emails that are sent to the user. Unfortunately, the text is not translated.

Can you reproduce this issue on default Wordpress theme (eg Storefront)?

Yes.

Can you reproduce this issue when all other plugins are disabled except WooCommerce, Polylang and Hyyan WooCommerce Polylang Integration?

Yes.

What product versions and settings are you using when this issue occurs?

  • PHP: 7.2.20
  • WordPress: 5.7.1
  • WooCommerce: 5.2.2
  • Polylang: Free, 3.0.3
  • Hyyan WooCommerce Polylang Integration: 1.5.0
  • Browser: Firefox 89

Steps to Reproduce

  1. Add additional content to an email not related to an order. (for example: lost password)
  2. Translate the text using Polylang.
  3. Trigger the email with additional content. (for example: click "Lost your password?" on account page)

What I Expected

I expected to see the translated additional content in the email.

What Happened Instead

I saw the original, untranslated text in the email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions