getdokan / dokan-wpml

WPML compatibility with dokan plugin
5 stars 11 forks source link

⚠️⚠️⚠️ EMAILINGS - LANGUAGES NOT RELATED TO CUSTOMER OR ORDER OR SELLER language but to the language of the website/dashboard when the actions is made #68

Open Sophie-2e opened 7 months ago

Sophie-2e commented 7 months ago

Emails receivers should only receive emails in the language that is registered on their profile in Admin > Users > Languages.

This should apply to both Sellers and Customers profiles. For now, emails are received in the languages that the website/dashboard was when the actions which triggered the emails were performed.

For the admin, we can find temporary solutions for the Sellers by switching our dashboard when we perform actions (and still we need to go check the preferred language and remember to change the dashboard language every time) such as when we send announcements or send invoices manually). But for the Vendors and Customers, it is mixed up. If a Dutch seller sells a product to a French customer, he will perform his actions in his Dutch dashboard resulting in all emails being sent in Dutch to the French customer who won't understand a word of Dutch. And same if the French sellers request a refund or support, all emails will be sent in French to the Dutch sellers.

And there are emails such as the Low/Out of Stock notifications products that are then constantly sent in the Default website language instead of being sent to the seller in his language.

This makes the all emails systems notifications so mixed up with customers and sellers receiving emails in as many languages that the website have...especially when they order severals products which are most of the time from different vendors.

Please assign someone to this matter as this makes Dokan plugin not appropriate for opening an international marketplace.