Stay at United States should be International

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(//demos.welaunch.io/wordpress-country-selector/wp-content/wordpress-country-selector/public/css/../flags/4x3/un.svg);
}

See Screenshots:

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *