0

I just found a language pack in zip format which contains

composer.json
language.xml
registration.php
zh_CN.csv
LICENSE
README.md

I'm going to edit the csv inside , but i don't know how to install it, anyone knows?

e.g where should i upload? what command should i run?

1

1 Answer 1

0

Copy the contents of zip in app/i18n in your magento root directory and set the locale of the store to your specified language (chinese in your case) from Stores->Configuration->General->Locale Options .Then run following command

php bin/magento setup:static-content:deploy zh_CN
2
  • i've ran php bin/magento setup:static-content:deploy zh_Hans_CN but nothing was changed in frontend / backend, i've already set the locale to zh_Hans_CN, any ideas?
    – hkguile
    Apr 4, 2017 at 8:30
  • It seems to me that you've edited the code in zip folder so make sure you've edited the things right by checking your code according to this answer .. stackoverflow.com/questions/34067460/… Apr 4, 2017 at 9:32

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.