Represents a standard ISO locale definition. The concept of locale is a combination of language and region.
A more common term to describe a locale is "culture."
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The ILocale type exposes the following members.
Properties
Name | Description | |
---|---|---|
EnglishName |
Gets the culture name in the format "<languagefull> (<country/regionfull>)" in
English, where <languagefull> is the full name of the language and <country/regionfull>
is the full name of the country/region.
| |
ISOLanguageName |
Gets the ISO 639-2 three-letter code for the locale's language.
| |
LCID |
Gets the identifier of the locale's underlying culture.
| |
Name |
Gets the name of the locale. The name is the same as the RegionCode of the locale.
| |
NativeName |
Gets the culture name. This consists of the full name of the language, the full name
of the country/region, and the optional script.
This name is written in the locale's native language.
| |
RegionCode |
Gets the locale's region code. It is the same as the Name property.
| |
WindowsLanguageName |
Gets the three-letter code for the language as defined in the Windows API.
|
Methods
Name | Description | |
---|---|---|
FormatNumber |
Converts the value of the number provided to its equivalent
string representation using the culture-specific format
information.
| |
FormatTimeLong |
Converts a time value to its equivalent
string representation using culture-specific long-format
information.
| |
FormatTimeShort |
Converts a time value to its equivalent
string representation using culture-specific short format
information.
|
See Also