In magento 2, how to set default locale? I default in admin page below:
I cleared all cache by command: magento cache:flush
. But, it until get locale is en_US
. If the true is ja_JP
.
In magento 2, how to set default locale? I default in admin page below:
I cleared all cache by command: magento cache:flush
. But, it until get locale is en_US
. If the true is ja_JP
.
We need to create ja_JP.csv
in your custom theme: app/design/frontend/{Vendor Theme}/{Theme name}/i18n/ja_JP.csv
We can find the locale code by simple way:
You have to create ja_JP.csv file in your custom theme.
app/design/frontend/{Vendor}/{theme}/i18n/ja_JP.csv
inside ja_JP.csv
file first column is english name of text and other column name is japanese word.
example inside ja_JP.csv
file.
"Add to compare","japanese word for add to compare set here"
Try this one I hope this helps.
Credit to the owner of the thread: Magento 2 - How do I change the locale of admin backend?