Use the document language to determine the email template language when sending documents
Currently, when documents are manually transferred via the order via send document, the email template language is determined by the admin user’s backend language, not by the language in which the customer placed the order.
This leads to additional steps every time a document needs to be sent manually:
The admin must first check the order language, switch the backend language accordingly, and only then send the document so that the email is generated in the correct language.
The expected behavior is that the document’s language (or order language) should define which email template is used for sending, ensuring consistent customer communication and reducing unnecessary manual steps.
Implementing this would streamline workflow, avoid mistakes, and provide a more intuitive and customer-centric process.