Navigation
API > API/Developer > API/Developer/Localization
Class for handling language codes used in the Portable Object format.
| Name | FPortableObjectCulture |
| Type | class |
| Header File | /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h |
| Include Path | #include "PortableObjectFormatDOM.h" |
Syntax
class FPortableObjectCulture
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| PortableObjectFormatDOM.h | |||
FPortableObjectCulture
(
const FString& LangCode, |
PortableObjectFormatDOM.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Culture | FCulturePtr | PortableObjectFormatDOM.h | ||
| LanguageCode | FString | The language code as it appears in the PO file. | PortableObjectFormatDOM.h | |
| LanguagePluralForms | FString | PortableObjectFormatDOM.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FString Country() |
Retrieves the country info of the culture | PortableObjectFormatDOM.h | |
FString DisplayName() |
Retrieves the display name for the language. | PortableObjectFormatDOM.h | |
FString EnglishName() |
Retrieves the English name for the language. | PortableObjectFormatDOM.h | |
const FString & GetLanguageCode() |
Retrieves the language code | PortableObjectFormatDOM.h | |
FString GetPluralForms() |
Retrieves the language plural forms. | PortableObjectFormatDOM.h | |
bool IsValid() |
Checks to see if we have a language code and if we were able to match a culture to that code | PortableObjectFormatDOM.h | |
FString Language() |
Retrieves the two or three letter language code for the culture | PortableObjectFormatDOM.h | |
void SetLanguageCode
(
const FString& LangCode |
Sets the language code | PortableObjectFormatDOM.h | |
void SetPluralForms
(
const FString& InPluralForms |
Sets the language plural forms. | PortableObjectFormatDOM.h | |
FString Variant() |
Retrieves the variant info for the culture | PortableObjectFormatDOM.h |