ILocale Interface Ingeniux CMS Content Store API

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

public interface ILocale

The ILocale type exposes the following members.

Properties

  NameDescription
Public propertyEnglishName
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.
Public propertyCode exampleISOLanguageName
Gets the ISO 639-2 three-letter code for the locale's language.
Public propertyLCID
Gets the identifier of the locale's underlying culture.
Public propertyCode exampleName
Gets the name of the locale. The name is the same as the RegionCode of the locale.
Public propertyNativeName
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.
Public propertyCode exampleRegionCode
Gets the locale's region code. It is the same as the Name property.
Public propertyCode exampleWindowsLanguageName
Gets the three-letter code for the language as defined in the Windows API.
Top
Methods

  NameDescription
Public methodCode exampleFormatNumber
Converts the value of the number provided to its equivalent string representation using the culture-specific format information.
Public methodCode exampleFormatTimeLong
Converts a time value to its equivalent string representation using culture-specific long-format information.
Public methodCode exampleFormatTimeShort
Converts a time value to its equivalent string representation using culture-specific short format information.
Top
See Also

Reference