Description
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.
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
).
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.
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