0

I am new to WooCommerce and PHP.

I want to sent the emails, which are sent if an order was made, in different languages depending on shipping_country of the customer.

For example, if the customer select German as Shipping_country, the customer and admin should get all Mails in german. If customer select England or Spain as Shipping_country, the customer and admin should get all mails in english. Hope this is possible with some line of code in function.php of my child theme.

I already know how I can get the selected shipping_country I think, but how can I set email language with PHP Code?

Which hook can I use for it and how can I set language tag?

Thank you for any kind of help in advance,

Newbie2023

0 Answers0