Google: Country-Region Code Letter Case Not Important

Aug 1, 2017 - 8:27 am 0 by

Google Ncr

Google's John Mueller said on Twitter that going capital or lower case does not matter much when it comes to setting the country-region code in your XML sitemap files.

He said either "en-US" OR "en-us" are perfectly fine to use.

This comes after one webmaster said he was getting an "unknown language code(sitemap)" error. John did add that "one tricky one I've seen is either normal spaces or unicode no-width spaces accidentally used in a sitemap file."

But generally, the letter case does not matter here.

Here are the tweets:

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Updates

Google Search Ranking Algorithm Volatility - A Gemini 3 Update?

Nov 20, 2025 - 7:55 am
Google Search Engine Optimization

Google Thought On Six Options For Publishers Controlling AI

Nov 20, 2025 - 7:51 am
Google Maps

Google Maps Reviewer Nicknames, Insider Tips & Trending

Nov 20, 2025 - 7:41 am
Google

Google Discover Drops Follow Feature From Chrome (Not Discover Feed)

Nov 20, 2025 - 7:31 am
Google Search Engine Optimization

Google Search Console To Add Brand Query Filters

Nov 20, 2025 - 7:21 am
Google Ads

Google Tests Gray Shaded Search Ads & Local Pack

Nov 20, 2025 - 7:11 am
 
Previous Story: Google: Structure Your XML Sitemap As You Like