Navigation
Unreal Engine C++ API Reference > Developer > Localization > FLocTextHelper
References
Module | Localization |
Header | /Engine/Source/Developer/Localization/Public/LocTextHelper.h |
Include | #include "LocTextHelper.h" |
Source | /Engine/Source/Developer/Localization/Private/LocTextHelper.cpp |
bool AddSourceText
&40;
const FLocKey & InNamespace,
const FLocItem & InSource,
const FManifestContext & InContext,
const FString &42; InDescription
&41;
Remarks
Add a new source text entry to the manifest. Returns true if it was added successfully (or if a matching entry already exists), false if a duplicate entry was found with different text (an identity conflict).
Parameters
Name | Description |
---|---|
InNamespace | Namespace of the source text. |
InSource | Source text to add. |
InContext | Context information for the source text (including its key). |
InDescription | Optional description of the source text (for logging). |