In the post What is a valid Hreflang? I covered how hreflang markup is to be used and what language and region codes are valid. It's a good, succinct list of valid codes. This page has more information because it includes the names of countries and languages that are represented by the various codes. For