FLocTextHelper::AddSourceText

Add a new source text entry to the manifest.

Windows
MacOS
Linux

References

Module

Localization

Header

/Engine/Source/Developer/Localization/Public/LocTextHelper.h

Include

#include "LocTextHelper.h"

Source

/Engine/Source/Developer/Localization/Private/LocTextHelper.cpp

Syntax

bool AddSourceText
(
    const FLocKey & InNamespace,
    const FLocItem & InSource,
    const FManifestContext & InContext,
    const FString * InDescription
)

Remarks

Add a new source text entry to the manifest.

Returns

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

Parameter

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).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss