Class CultureInfo
The information about a specific culture (aka locale). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers.
Inheritance
CultureInfo
Assembly: FlaxEngine.dll
File: Engine/Localization/CultureInfo.h
Syntax
public class CultureInfo
Constructors
CultureInfo(const StringAnsiView& name)
Initializes a new instance of the CultureInfo class.
Declaration
public CultureInfo(const StringAnsiView& name)
Parameters
StringAnsiView
name
The culture name (eg. pl-PL). |
CultureInfo(const StringView& name)
Initializes a new instance of the CultureInfo class.
Declaration
public CultureInfo(const StringView& name)
Parameters
StringView
name
The culture name (eg. pl-PL). |
CultureInfo(int32 lcid)
Initializes a new instance of the CultureInfo class.
Declaration
public CultureInfo(int32 lcid)
Parameters
int32
lcid
The culture identifier. |
Methods
GetEnglishName()
Gets the culture name in English (eg. polski (Polska)).
Declaration
public String GetEnglishName() const
Returns
String
|
GetLCID()
Gets the culture identifier.
Declaration
public int32 GetLCID() const
Returns
int32
|
GetName()
GetNativeName()
Gets the full localized culture name (eg. Polish (Poland)).
Declaration
public String GetNativeName() const
Returns
String
|
GetParentLCID()
Gets the parent culture identifier.
Declaration
public int32 GetParentLCID() const
Returns
int32
|
operator==(const CultureInfo& other)
Declaration
public bool operator==(const CultureInfo& other) const
Parameters
CultureInfo
other
|
Returns
bool
|