Uses the xml language type definition which references ietf 3066 which references ISO 639. This type supports either a 2 or 3 character code. ISO recommends sending lower case characters for language codes reserving upper case for country codes. More information can be found here: https://www.w3.org/International/articles/language-tags