2

In magento 2, how to set default locale? I default in admin page below: enter image description here

I cleared all cache by command: magento cache:flush. But, it until get locale is en_US. If the true is ja_JP.

3
  • have you create .csv file inside ja_JP folder inside theme root folder Apr 27, 2016 at 8:57
  • I did not create .csv file yet. How to create this file?
    – MrTo-Kane
    Apr 27, 2016 at 9:11
  • How about your issue? Feb 19, 2017 at 11:27

3 Answers 3

1

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:

enter image description here

1
  • 1
    Yes, the same my solution
    – MrTo-Kane
    Feb 19, 2017 at 11:44
1

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"
0

Try this one I hope this helps.

enter image description here

Credit to the owner of the thread: Magento 2 - How do I change the locale of admin backend?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.