When you want to have the popup say “Stay at International Site” instead of “Stay at United States” you need to do the following
- Install Loco Translate Plugin
- Go to Loco Translate > Plugins > WordPress Country Selector
- Click on New Language
- If template is missing > Click on create new template
- Then create a translation file for English (United States) en_US inside custom location
- Search for United States and translate with “International”
- Save translation file
Then you can also replace the us flag with the following custom CSS:
.flag-icon.flag-icon-us { background-image: url(//demos.welaunch.io/wordpress-country-selector/wp-content/wordpress-country-selector/public/css/../flags/4x3/un.svg); }
See Screenshots:
This is great advice. However, I took my approach one step further. The only downside was that the US would be replaced by the “International” label, and since I want to expand my business further someday, and hopefully enter the US market, I decided to go a different route. I chose my language as Latin, switched Vatican City as International, and in the custom css code, I replaced “us” with “va”. I don’t ever plan on opening a business in the Vatican so this should be fine lol. Thanks for the support!
Hi,
How can we change the “Stay at” text?
With the translation it just doesn’t work and it still displays “stay at international”.
The Real Person!
Simply use Loco Translate plugin to change the string 😉