Thanks for that! I had the same problem. I wanted to display a UK flag instead of US flag, when en_US is selected.
I'd like to add some details to the procedure to make it easier for someone of my level (relative newbie) to understand and apply:
- Procedure to change US flag to UK flag for en_US:
Download flags zip file from this famfamfam.com URL to your computer:
[Link to non-GPL file removed]
"Extract all" from the zip file to a 'flags' subdirectory and upload everything in this subdirectory to your theme images directory. In my case this is my Studiopress Minimum child theme:
So now you have all your flags in:
This flags subdirectory contains the UK flag (gb.png) and the US flag (us.png) that Multisite Language Switcher uses:
Next, delete us.png (or rename it to us_old.png).
Then copy gb.png to us.png.
Final step is to update Multisite Language Switcher Options. Update the "Custom URL for flag-images" setting on the relevant sites in your multisite to point to your local png subdirectory, in this case:
And you're done...