Skip to content

The country / region of mail sent from the admin panel is translated into the admin locale. #26521

Closed
@Taku-Yamashita

Description

@Taku-Yamashita

Preconditions (*)

  1. Magento2.3.3
  2. PHP7.2
  3. Two stores (JP & EN)
  4. Admin user locale is ja_JP

Steps to reproduce (*)

  1. place order in EN store.
  2. send order Email from admin panel using admin user locale ja_JP.

Expected result (*)

Displayed in English.

スクリーンショット 2020-01-24 17 48 39

Actual result (*)

Country is Displayed in Japanese (admin user locale) even though this order is placed on EN store.

スクリーンショット 2020-01-24 17 48 32

if I change admin panel locale to en_US from ja_JP , it will work fine.

When sending mail from admin panel, Magento\Backend\Model\Locale\Resolver::setLocale method is used. And it force to set admin user local to county & region .

Metadata

Metadata

Labels

Component: BackendComponent: LocaleComponent: SalesEvent: mm20inFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.3.3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S1Affects critical data or functionality and forces users to employ a workaround.Triage: DoneHas been reviewed and prioritized during Triage with Product Managers

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions