How to modify the name of a country?
See original GitHub issueAssume i have this HTML code:
<div class="list-select-options">
<input type="text" id="country">
<input type="hidden" id="country_code">
<i class="fa fa-sort"></i>
</div><!-- .list-select-options end -->
And this js code:
$("#country").countrySelect({
defaultCountry: "gb",
onlyCountries: ['eg','gb'],
preferredCountries: false,
responsiveDropdown: true
});
So how to change for example United Kingdom to England?

Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Geographical renaming - Wikipedia
Geographical renaming is the changing of the name of a geographical feature or area. This can range from the change of a street...
Read more >How do I change the name of countries? :: Hearts of Iron IV ...
Once there, open the console by hitting the ~ key. Then, type in tdebug and hit enter. Then, simply hover over the country/states...
Read more >Why Countries Change Their Names - YouTube
In this video, I look at why countries might want to change their names. I look at the specific cases of North Macedonia,...
Read more >How to change your Google Play country
Change your Google Play country · On your Android device, open the Google Play Store app Google Play . · At the top...
Read more >Timeline of country name changes in HMG use: 1919 to 2022
Iceland; Republic of Iceland changed to Iceland. Turkey; Republic of Turkey changed to Turkey; Republic of Türkiye. 2019. Macedonia; Republic of ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You could create an instance of the input, set the default value to the selected country, and leave only that country on the list, @iamkarsoft.
The latest version (v2.1.0) now allows you to set the localized name of a country (see the
localizedCountriesoption, documented on the README). This will allow you to override the names of countries you wish to change.