FTextLocalizationManager::AddDisplayString

Attempts to register the specified display string, associating it with the specified namespace and key.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/TextLocalizationManager.h

Include

#include "Internationalization/TextLocalizationManager.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/TextLocalizationManager.cpp

Syntax

bool AddDisplayString
(
    const FTextDisplayStringRef & DisplayString,
    const FTextKey & Namespace,
    const FTextKey & Key
)

Remarks

Attempts to register the specified display string, associating it with the specified namespace and key. Returns true if the display string has been or was already associated with the namespace and key. Returns false if the display string was already associated with another namespace and key or the namespace and key are already in use by another display string.

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