Customer’s language forcibly changed to English
-
Store https://in2scentedart.com/ has 2 languages PL and EN and one currency PLN. It’s a WooCommerce store and I have problems with emails. English is main language of this site.
Problem 1. When sending a Customer Processing Order template to a user who has English language assigned, the currency sign “PLN” is changed to Euro sign “€”. The amounts remain the same, only the currency symbol changes. In other types of mails I have not noticed this problem. In emails forced to polish I have not noticed this problem.
Problem 2: Your documentation says: “for logged-in users, their preferred language is automatically updated to the last language they visited the website in. Hence, the WooCommerce emails will be sent in that same language. For websites that don’t require login before purchase, TranslatePress will use the language selected on the checkout page at the time the order was placed to identify the user’s preference” so I thought that being on “/pl/checkout/” is everything I need to get polish email.
When going from the Checkout page to or through the payment broker, the language of the customer account is switched from Polish to English. In practice, all emails to customers go out in English, regardless of what language was set on the checkout page.
Among other scenarios, I checked:
A) I go from the Polish checkout to the PayU panel and then to /checkout/order-received/ – I get a page in English.
B) on the Polish checkout I enter my card details and immediately go to /checkout/order-received/ – I get a page in English (EVEN if it’s a logged in user and has “Always use this language” checked). Effect of scenario B shown below:Additional information (don’t know if useful) – when I have the Polish version of the page open, there is a message in the console “Notice: TranslatePress trp-ajax request uses fall back to admin ajax.” When browsing on the English version there is no this message. I used the solution given here https://www.ads-software.com/support/topic/trp-ajax-error/ and the message disappeared, but it didn’t help for problems with languages.
The page I need help with: [log in to see the link]
- The topic ‘Customer’s language forcibly changed to English’ is closed to new replies.