-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Country isn't translated in customer emails when asyncronous sending is enabled #31999
Comments
Hi @martinshawruroc. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. Please, add a comment to assign the issue:
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Alfa. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Alfa Issue Available: @engcom-Alfa, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
use email_order_set_template_vars_before event and put this code in your observer to solve this issue
|
@engcom-Alfa can you make an update? Is this solved in 2.4.3 or recent 2.4-develop updates? |
@onlinebizsoft I tried to reproduce the issue in magento 2.4.2-p2 but i think it's resolved now. so, cant reproduced it. |
I just ran into this problem. When order emails are sent async, the default locale is not correct. Strangely enough, the i18n translations are correct, but the following method returns the root locale: This results in the French emails not having the correct datetime. |
Preconditions (*)
2.4-develop
Steps to reproduce (*)
2.4-develop
branch (55c4ff8 at time of writing). I've also replicated the issue on 2.4.1Expected result (*)
Regardless of whether or not the email is send asynchronously or synchronously all parts of the email should be translated to the locale that the order was placed in.
Actual result (*)
When the order email is sent asynchronously for an order with a different locale to the default, it isn't used.
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: