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 ?

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

1 Answer 1


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 and acknowledge you have read our privacy policy.

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