Navigation
API > API/Developer > API/Developer/Localization
Inheritance Hierarchy
- FPortableObjectEntryKey
- FPortableObjectEntry
References
| Module | Localization |
| Header | /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h |
| Include | #include "PortableObjectFormatDOM.h" |
Syntax
class FPortableObjectEntry : public FPortableObjectEntryKey
Remarks
Class for representing entries in a Portable Object file(.po) or a Portable Object Template file(.pot).
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FString > | ExtractedComments | ||
| TArray< FString > | Flags | ||
| TArray< FString > | MsgStr | Represents the translated text. | |
| TArray< FString > | ReferenceComments | ||
| TArray< FString > | TranslatorComments | ||
| TArray< FString > | UnknownElements | Stores any unknown elements we may encounter when processing a Portable Object file. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddExtractedComment
(
const FString& InComment |
Helper function that adds to the extracted comments. | |
| void | AddExtractedComments
(
const TArray< FString >& InComments |
Helper function that adds to the extracted comments. | |
| void | AddReference
(
const FString& InReference |
Helper function that adds to the reference comments. | |
| void | AddReferences
(
const TArray< FString >& InReferences |
Helper function that adds to the reference comments. | |
| void | AddTranslatorComment
(
const FString& InComment |
Helper function that adds to the translator comments. | |
| void | AddTranslatorComments
(
const TArray< FString >& InComments |
Helper function that adds to the translator comments. | |
| FString | ToString () |
Function to convert the entry to a string. |