I want to change a country name in magento 2.2.6. Say I want to change united kingdom to 'great britain'. All the countries are stored in a xml file at location
/vendor/magento/zendframework1/library/Zend/Locale/Data/en.xml
We can make the changes according to our locale file. I tried to change here but nothing happened (ofcourse I cleared all the caches).
In magento 1.9 I changed in the following file for this problem
/lib/Zend/Locale/Data/en.xml
So i tried to make the same change in locale folder in magento2 but nothing happened. I found a lot of questions on magento stack exchange related to this but none has a proper answer. So I was left on my own, what I did I changed all the files in magento 2.2 (including csv and xml), where I found united kingdom to great britain, cleared caches but to mu surprise I still get united kingdom (in country select box).
I know countries name are not stored in database and I have changed all the files where I could find united kingdom to great britain but still I get united kingdom. I have no more method I could try for. If anyone faced the problem and could guide me in right direction.