Stay at United States should be International

FAQ Viewed: 597

When you want to have the popup say “Stay at International Site” instead of “Stay at United States” you need to do the following

  1. Install Loco Translate Plugin
  2. Go to Loco Translate > Plugins > WordPress Country Selector
  3. Click on New Language
  4. If template is missing > Click on create new template
  5. Then create a translation file for English (United States) en_US inside custom location
  6. Search for United States and translate with “International”
  7. Save translation file

Then you can also replace the us flag with the following custom CSS:

.flag-icon.flag-icon-us {
 background-image: url(//welaunch.io/plugins/wordpress-country-selector/wp-content/plugins/wordpress-country-selector/public/css/../flags/4x3/un.svg);
}

See Screenshots:

1 - Loco Translate
2 - loco translate > Plugins > Country SElector
3 - new Language
4 - Template Missing
5 - Create translation Template
6 - Template Created
7 - Create new Translation file
8 - Translate United States
This Post Has One Comment
  1. 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!

Leave a Reply

Your email address will not be published. Required fields are marked *