Navigation
API > API/Developer > API/Developer/Localization
References
| Module | Localization |
| Header | /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h |
| Include | #include "PortableObjectFormatDOM.h" |
Syntax
class FPortableObjectCulture
Remarks
Class for handling language codes used in the Portable Object format.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPortableObjectCulture
(
const FString& LangCode, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | Country () |
Retrieves the country info of the culture | |
| FString | DisplayName () |
Retrieves the display name for the language. | |
| FString | EnglishName () |
Retrieves the English name for the language. | |
| FCulturePtr | GetCulture () |
Retrieves the culture equivalent that matches the set language code. | |
| const FString & | Retrieves the language code | ||
| FString | Retrieves the language plural forms. | ||
| bool | IsValid () |
Checks to see if we have a language code and if we were able to match a culture to that code | |
| FString | Language () |
Retrieves the two or three letter language code for the culture | |
| void | SetLanguageCode
(
const FString& LangCode |
Sets the language code | |
| void | SetPluralForms
(
const FString& InPluralForms |
Sets the language plural forms. | |
| FString | Variant () |
Retrieves the variant info for the culture |