4

I changed magento2 country name but didn't worked.

I changed in the below file:

File: vendor/magento/zendframework1/library/Zend/Locale/Data/xx.xml

How to change the country name ?

3
  • Can you please clarify what you're trying to do?
    – Haim
    Nov 18 '18 at 4:17
  • I want to change the country name taiwan to china taiwan
    – ben
    Nov 18 '18 at 6:38
  • any update on this? Sep 24 '20 at 9:21
2

Because of the changes in 2.4 being applied in the core translation file app/code/Magento/Config/i18n/en_US.csv We can override it at the theme level. Create a custom translation CSV file here app/design/frontend/<Vendor_Name>/<Theme_Name>/i18n/en_US.csv in your active theme(s) with the content "Taiwan","Taiwan" and do a cache flush.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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