The locale module provides parsing of locale names, and retrieval of operating system locales.