Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Internationalization/PolyglotTextData.h |
Include |
#include "Internationalization/PolyglotTextData.h" |
struct FPolyglotTextData
Polyglot data that may be registered to the text localization manager at runtime.
This struct is mirrored in NoExportTypes.h for UHT.
Name | Description | |
---|---|---|
|
FPolyglotTextData() |
Default constructor |
|
FPolyglotTextData |
Construct this polyglot data with an identity, optionally immediately providing the source text and native culture. |
Name | Description | ||
---|---|---|---|
|
void |
AddLocalizedString |
Add a localized string to this polyglot data. |
|
void |
ClearLocalizedStrings() |
Clear the localized strings from this polyglot data. |
|
ELocalizedTe... |
GetCategory() |
Get the category of this polyglot data. |
|
void |
GetIdentity |
Get the identity of the text created from this polyglot data. |
|
const FStrin... |
GetKey() |
Get the key of the text created from this polyglot data. |
|
GetLocalizedCultures() |
Get the localized cultures of this polyglot data. |
|
|
bool |
GetLocalizedString |
Get a localized string from this polyglot data. |
|
const FStrin... |
GetNamespace() |
Get the namespace of the text created from this polyglot data. |
|
const FStrin... |
GetNativeCulture() |
Get the native culture of this polyglot data. |
|
const FStrin... |
GetNativeString() |
Get the native string of this polyglot data. |
|
GetText() |
Get the text instance created from this polyglot data. |
|
|
bool |
IsMinimalPatch() |
Get whether this polyglot data is a minimal patch. |
|
void |
IsMinimalPatch ( |
Set whether this polyglot data is a minimal patch. |
|
bool |
IsValid ( |
Is this polyglot data valid and can be registered with the text localization manager? |
|
void |
RemoveLocalizedString ( |
Remove a localized string from this polyglot data. |
|
ResolveNativeCulture() |
Resolve the native culture of this polyglot data, either using the native culture if specified, or inferring it from the category. |
|
|
void |
SetCategory ( |
Set the category of this polyglot data. |
|
void |
SetIdentity |
Set the identity of the text created from this polyglot data. The key must not be empty. |
|
void |
SetNativeCulture ( |
Set the native culture of this polyglot data. |
|
void |
SetNativeString ( |
Set the native string of this polyglot data. The native string must not be empty. |