FText::FromStringTable

Attempts to create an [FText](API\Runtime\Core\Internationalization\FText) instance from a string table ID and key (this is the same as the LOCTABLE macro, except this can also work with non-literal string values).

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Internationalization/Text.h"

Source

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

Syntax

static FText FromStringTable
(
    const FName InTableId,
    const FString & InKey,
    const EStringTableLoadingPolicy InLoadingPolicy
)

Remarks

Attempts to create an FText instance from a string table ID and key (this is the same as the LOCTABLE macro, except this can also work with non-literal string values).

Returns

The found text, or a dummy FText if not found.

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