Locales
A locale is a user-defined combination of a language specific to a place (such as English spoken in the United States) and a default encoding used to store content in this language (such as ISO-8559 or UTF-8). Through the API, you can obtain information about the locales defined on your system and check whether a specific locale exists.