TextNamespaceUtil::EnsurePackageNamespace

Given an object, try and ensure it has a namespace it should use for localization (from its owner package).

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Internationalization/TextPackageNamespaceUtil.h

Include

#include "Internationalization/TextPackageNamespaceUtil.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Internationalization/TextPackageNamespaceUtil.cpp

Syntax

namespace TextNamespaceUtil
{
    FString TextNamespaceUtil::EnsurePackageNamespace
    (
        UObject * InObject
    )
}

Remarks

Given an object, try and ensure it has a namespace it should use for localization (from its owner package).

Returns

The package namespace, or an empty string if the package has no namespace and one could not be added.

Parameters

Parameter

Description

InObject

The object to try and get the namespace for.

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