TextNamespaceUtil::EnsurePackageNamespace

Given a package, try and ensure it has a namespace it should use for localization.

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
    (
        UPackage * InPackage
    )
}

Remarks

Given a package, try and ensure it has a namespace it should use for localization.

Returns

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

Parameters

Parameter

Description

InPackage

The package 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