FPortableObjectEntry

Class for representing entries in a Portable Object file(.po) or a Portable Object Template file(.pot).

Unreal Engine C++ API Reference > Developer > Localization

Inheritance Hierarchy

References

   
Module Localization
Header /Engine/Source/Developer/Localization/Public/PortableObjectFormatDOM.h
Include #include "PortableObjectFormatDOM.h"

Syntax

class FPortableObjectEntry : public [FPortableObjectEntryKey](API\Developer\Localization\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
  FPortableObjectEntry ()  

Functions

Type Name Description
void AddExtractedComment ( const FString& InComment ) Helper function that adds to the extracted comments.
void AddExtractedComments ( const TArray< FString >& InComment... ) 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 >& InReferen... ) 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 >& InComment... ) Helper function that adds to the translator comments.
FString ToString () Function to convert the entry to a string.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library