Background of the issue:
I am trying to ensure that emails are sent in the correct language based on the user's selection or the site's locale. I noticed this issue while working with AffiliateWP and Membership Pro. Here is the link to the page where the issue can be seen: hidden link.
Symptoms:
Emails are being sent in English regardless of the user's language selection. This issue affects all AffiliateWP emails and some Membership Pro emails, even when users have selected languages like Spanish or Portuguese.
Questions:
Why are AffiliateWP emails always sent in English?
Why are some Membership Pro emails sent in English despite the user's language selection?