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

Search Forum Recap

Daily Search Forum Recap: January 6, 2026

Jan 6, 2026 - 10:00 am
Google

Google Hiring AI Answers & Search Quality Software Engineer

Jan 6, 2026 - 7:51 am
Google

Google Added LLMs.txt To It's Web Sites For Other Reasons Than Discovery

Jan 6, 2026 - 7:41 am
Bing Search

Microsoft Bing Tests New Home Page Design Promoting Copilot

Jan 6, 2026 - 7:31 am
Google Search Engine Optimization

Google Practice Problems Structured Data Help Documentation Removed

Jan 6, 2026 - 7:21 am
Google Ads

Google Ads To Allow Ads For Prediction Markets

Jan 6, 2026 - 7:11 am
 
Previous Story: Google: Structure Your XML Sitemap As You Like