TextNamespaceUtil::GetPackageNamespace

Given a package, try and get the 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::GetPackageNamespace
    (
        const UPackage * InPackage
    )
}

Remarks

Given a package, try and get the namespace it should use for localization.

Returns

The package namespace, or an empty string if the package has no namespace.

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