Skip to content

Magento 2.4.1 translation issue on admin grids against different locales #31071

Open
@mobeen-sarwar

Description

@mobeen-sarwar

Summary (*)

In the scenario of different locales, all admin grids are not translating to the relevant language package. Visit some admin grid like (Admin->sales->transactions) and then change the locale (admin -> Account Settings) to some other locale. Now previously visited admin grid should be translated according to the new locale, but this does not happen.

Preconditions (*)

1- Magento 2.4.1
2- Magento 2.3.4-p2
3- Magento 2.3.5-p2
4- Translations for at least two locales
5. Not reproducible on 2.4-develop

Assumptions(*)

1- We are assuming that we have three locales English, Japanese, and Korean, with translations.
locales
2- Make sure we have added translations for this path: Admin->Sales->Transactions

Steps to reproduce (*)

1- Login to Magento admin

2- Go to this path: Admin->Sales->Transactions and note down header translations. This step is a must. To test the translation changes for a grid you must visit it before changing your locale (step 3).

image

3- Now set the Interface Locale to Korean assuming the previous was English US (Go to admin -> Account Settings).

4- Must not flush the cache after changing the locale.

5- Repeat step 2.

Expected result (*)
1- Grid headers should be translated into Korean.

Actual result (*)
1- Grid headers are still in English.

transaction-jp

Further Details(*)

1- This translation is also on the below paths:
i) Admin->All Customers->Edit (open a customer details)->Reward Points->Reward Points History
ii) Admin->Sales->Orders->view(open an order details)->Transactions

2- Video recording of this issue

3- My previous ticket on this issue (magento 2.3.4)

Metadata

Metadata

Assignees

Labels

Area: Admin UIComponent: LocaleComponent: TranslationIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: dev in progressReported on 2.3.4-p2Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions