ICustomLocale Interface Ingeniux CMS Content Store API

Represents a custom locale. It is used to extend the list of ISO locales and to allow more choices of languages in the WorldView system.

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax

public interface ICustomLocale : ILocale

The ICustomLocale type exposes the following members.

Properties

  NameDescription
Public propertyBaseName
Gets the base locale name. Base locale is always a standard ISO locale.
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.
(Inherited from ILocale.)
Public propertyCode exampleISOLanguageName
Gets the ISO 639-2 three-letter code for the locale's language.
(Inherited from ILocale.)
Public propertyLCID
Gets the identifier of the locale's underlying culture.
(Inherited from ILocale.)
Public propertyCode exampleName
Gets the name of the locale. The name is the same as the RegionCode of the locale.
(Inherited from ILocale.)
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.
(Inherited from ILocale.)
Public propertyCode exampleRegionCode
Gets the locale's region code. It is the same as the Name property.
(Inherited from ILocale.)
Public propertyCode exampleWindowsLanguageName
Gets the three-letter code for the language as defined in the Windows API.
(Inherited from ILocale.)
Top
Methods

  NameDescription
Public methodCode exampleFormatNumber
Converts the value of the number provided to its equivalent string representation using the culture-specific format information.
(Inherited from ILocale.)
Public methodCode exampleFormatTimeLong
Converts a time value to its equivalent string representation using culture-specific long-format information.
(Inherited from ILocale.)
Public methodCode exampleFormatTimeShort
Converts a time value to its equivalent string representation using culture-specific short format information.
(Inherited from ILocale.)
Top
Remarks

A custom locale must be based on an existing ISO locale; it cannot be based on another custom locale.
See Also

Reference