![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <PolyglotTextData.h>
Friends | |
| struct | Z_Construct_UScriptStruct_FPolyglotTextData_Statics |
Polyglot data that may be registered to the text localization manager at runtime.
|
default |
Default constructor
| FPolyglotTextData::FPolyglotTextData | ( | const ELocalizedTextSourceCategory & | InCategory, |
| const FString & | InNamespace, | ||
| const FString & | InKey, | ||
| const FString & | InNativeString, | ||
| const FString & | InNativeCulture = FString() |
||
| ) |
Construct this polyglot data with an identity, optionally immediately providing the source text and native culture.
| void FPolyglotTextData::AddLocalizedString | ( | const FString & | InCulture, |
| const FString & | InLocalizedString | ||
| ) |
Add a localized string to this polyglot data.
| void FPolyglotTextData::ClearLocalizedStrings | ( | ) |
Clear the localized strings from this polyglot data.
| ELocalizedTextSourceCategory FPolyglotTextData::GetCategory | ( | ) | const |
Get the category of this polyglot data.
| void FPolyglotTextData::GetIdentity | ( | FString & | OutNamespace, |
| FString & | OutKey | ||
| ) | const |
Get the identity of the text created from this polyglot data.
| const FString & FPolyglotTextData::GetKey | ( | ) | const |
Get the key of the text created from this polyglot data.
| TArray< FString > FPolyglotTextData::GetLocalizedCultures | ( | ) | const |
Get the localized cultures of this polyglot data.
| bool FPolyglotTextData::GetLocalizedString | ( | const FString & | InCulture, |
| FString & | OutLocalizedString | ||
| ) | const |
Get a localized string from this polyglot data.
| const FString & FPolyglotTextData::GetNamespace | ( | ) | const |
Get the namespace of the text created from this polyglot data.
| const FString & FPolyglotTextData::GetNativeCulture | ( | ) | const |
Get the native culture of this polyglot data.
| const FString & FPolyglotTextData::GetNativeString | ( | ) | const |
Get the native string of this polyglot data.
| FText FPolyglotTextData::GetText | ( | ) | const |
Get the text instance created from this polyglot data.
| bool FPolyglotTextData::IsMinimalPatch | ( | ) | const |
Get whether this polyglot data is a minimal patch.
Set whether this polyglot data is a minimal patch.
Is this polyglot data valid and can be registered with the text localization manager?
| void FPolyglotTextData::RemoveLocalizedString | ( | const FString & | InCulture | ) |
Remove a localized string from this polyglot data.
| FString FPolyglotTextData::ResolveNativeCulture | ( | ) | const |
Resolve the native culture of this polyglot data, either using the native culture if specified, or inferring it from the category.
| void FPolyglotTextData::SetCategory | ( | const ELocalizedTextSourceCategory | InCategory | ) |
Set the category of this polyglot data.
| void FPolyglotTextData::SetIdentity | ( | const FString & | InNamespace, |
| const FString & | InKey | ||
| ) |
Set the identity of the text created from this polyglot data.
| void FPolyglotTextData::SetNativeCulture | ( | const FString & | InNativeCulture | ) |
Set the native culture of this polyglot data.
| void FPolyglotTextData::SetNativeString | ( | const FString & | InNativeString | ) |
Set the native string of this polyglot data.
Needed to avoid member access issues in UHT generated code