#include <Culture.h>
|
| CORE_API | ~FCulture () |
| |
| CORE_API const FString & | GetDisplayName () const |
| |
| CORE_API const FString & | GetEnglishName () const |
| |
| CORE_API int | GetKeyboardLayoutId () const |
| |
| CORE_API int | GetLCID () const |
| |
| CORE_API TArray< FString > | GetPrioritizedParentCultureNames () const |
| |
| CORE_API const FString & | GetPreferredOnDiskIdentifier () const |
| |
| CORE_API const FString & | GetName () const |
| |
| CORE_API const FString & | GetVerseIdentifier () const |
| |
| CORE_API const FString & | GetNativeName () const |
| |
| CORE_API const FString & | GetUnrealLegacyThreeLetterISOLanguageName () const |
| |
| CORE_API const FString & | GetThreeLetterISOLanguageName () const |
| |
| CORE_API const FString & | GetTwoLetterISOLanguageName () const |
| |
| CORE_API const FString & | GetNativeLanguage () const |
| |
| CORE_API const FString & | GetRegion () const |
| |
| CORE_API const FString & | GetNativeRegion () const |
| |
| CORE_API const FString & | GetScript () const |
| |
| CORE_API const FString & | GetVariant () const |
| |
| CORE_API bool | IsRightToLeft () const |
| |
| CORE_API const FDecimalNumberFormattingRules & | GetDecimalNumberFormattingRules () const |
| |
| CORE_API const FDecimalNumberFormattingRules & | GetPercentFormattingRules () const |
| |
| CORE_API const FDecimalNumberFormattingRules & | GetCurrencyFormattingRules (const FString &InCurrencyCode) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (float Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (double Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (int8 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (int16 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (int32 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (int64 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (uint8 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (uint16 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (uint32 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (uint64 Val, const ETextPluralType PluralType) const |
| |
| CORE_API ETextPluralForm | GetPluralForm (long Val, const ETextPluralType PluralType) const |
| |
| CORE_API const TArray< ETextPluralForm > & | GetValidPluralForms (const ETextPluralType PluralType) const |
| |
| CORE_API void | RefreshCultureDisplayNames (const TArray< FString > &InPrioritizedDisplayCultureNames, const bool bFullRefresh=true) |
| |
◆ ~FCulture()
◆ Create()
◆ CreateCultureName()
| FString FCulture::CreateCultureName |
( |
const FString & |
LanguageCode, |
|
|
const FString & |
ScriptCode, |
|
|
const FString & |
RegionCode |
|
) |
| |
|
static |
◆ CultureNameFromVerseIdentifier()
| FString FCulture::CultureNameFromVerseIdentifier |
( |
const FString & |
VerseIdentifer | ) |
|
|
static |
Given a well-formed Verse culture identifier (eg, "en_US"), convert it to its equivalent UE culture name (eg, "en-US").
- Note
- GetCanonicalName will also perform this conversion, with additional validation.
◆ CultureNameToVerseIdentifier()
| FString FCulture::CultureNameToVerseIdentifier |
( |
const FString & |
Name | ) |
|
|
static |
Given a well-formed UE culture name (eg, "en-US"), convert it to its equivalent Verse identifier (eg, "en_US").
◆ GetCanonicalName()
| FString FCulture::GetCanonicalName |
( |
const FString & |
Name | ) |
|
|
static |
◆ GetCurrencyFormattingRules()
◆ GetDecimalNumberFormattingRules()
◆ GetDisplayName()
| const FString & FCulture::GetDisplayName |
( |
| ) |
const |
◆ GetEnglishName()
| const FString & FCulture::GetEnglishName |
( |
| ) |
const |
◆ GetKeyboardLayoutId()
| int FCulture::GetKeyboardLayoutId |
( |
| ) |
const |
◆ GetLCID()
| int FCulture::GetLCID |
( |
| ) |
const |
◆ GetName()
| const FString & FCulture::GetName |
( |
| ) |
const |
Get the name of this culture, eg, "en-US"
◆ GetNativeLanguage()
| const FString & FCulture::GetNativeLanguage |
( |
| ) |
const |
◆ GetNativeName()
| const FString & FCulture::GetNativeName |
( |
| ) |
const |
◆ GetNativeRegion()
| const FString & FCulture::GetNativeRegion |
( |
| ) |
const |
◆ GetPercentFormattingRules()
◆ GetPluralForm() [1/11]
◆ GetPluralForm() [2/11]
Get the correct plural form to use for the given number
- Parameters
-
| PluralType | The type of plural form to get (cardinal or ordinal) |
◆ GetPluralForm() [3/11]
◆ GetPluralForm() [4/11]
◆ GetPluralForm() [5/11]
◆ GetPluralForm() [6/11]
◆ GetPluralForm() [7/11]
◆ GetPluralForm() [8/11]
◆ GetPluralForm() [9/11]
◆ GetPluralForm() [10/11]
◆ GetPluralForm() [11/11]
◆ GetPreferredOnDiskIdentifier()
| const FString & FCulture::GetPreferredOnDiskIdentifier |
( |
| ) |
const |
Get the preferred on-disk identifier of this culture (eg, "en-US" vs "en_US") to use when creating new localized content.
- Note
- You should still assume both kinds of identifier may be used within a project.
◆ GetPreferredOnDiskIdentifierType()
Get the preferred on-disk identifier type (eg, "en-US" vs "en_US") to use when creating new localized content.
- Note
- You should still assume both kinds of identifier may be used within a project.
◆ GetPrioritizedParentCultureNames() [1/2]
| TArray< FString > FCulture::GetPrioritizedParentCultureNames |
( |
| ) |
const |
◆ GetPrioritizedParentCultureNames() [2/2]
| TArray< FString > FCulture::GetPrioritizedParentCultureNames |
( |
const FString & |
LanguageCode, |
|
|
const FString & |
ScriptCode, |
|
|
const FString & |
RegionCode |
|
) |
| |
|
static |
◆ GetRegion()
| const FString & FCulture::GetRegion |
( |
| ) |
const |
◆ GetScript()
| const FString & FCulture::GetScript |
( |
| ) |
const |
◆ GetThreeLetterISOLanguageName()
| const FString & FCulture::GetThreeLetterISOLanguageName |
( |
| ) |
const |
◆ GetTwoLetterISOLanguageName()
| const FString & FCulture::GetTwoLetterISOLanguageName |
( |
| ) |
const |
◆ GetUnrealLegacyThreeLetterISOLanguageName()
| const FString & FCulture::GetUnrealLegacyThreeLetterISOLanguageName |
( |
| ) |
const |
◆ GetValidPluralForms()
Get the plural forms supported by this culture
- Parameters
-
| PluralType | The type of plural form to get (cardinal or ordinal) |
◆ GetVariant()
| const FString & FCulture::GetVariant |
( |
| ) |
const |
◆ GetVerseIdentifier()
| const FString & FCulture::GetVerseIdentifier |
( |
| ) |
const |
Get the name of this culture as a Verse identifier (for a Verse path), eg, "en_US"
◆ IsRightToLeft()
| bool FCulture::IsRightToLeft |
( |
| ) |
const |
◆ RefreshCultureDisplayNames()
| void FCulture::RefreshCultureDisplayNames |
( |
const TArray< FString > & |
InPrioritizedDisplayCultureNames, |
|
|
const bool |
bFullRefresh = true |
|
) |
| |
The documentation for this class was generated from the following files:
- Engine/Source/Runtime/Core/Public/Internationalization/Culture.h
- Engine/Source/Runtime/Core/Private/Internationalization/Culture.cpp