Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Internationalization
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Internationalization/TextNamespaceUtil.h |
| Include | #include "Internationalization/TextNamespaceUtil.h" |
| Source | /Engine/Source/Runtime/Core/Private/Internationalization/TextNamespaceUtil.cpp |
namespace TextNamespaceUtil
{
FString TextNamespaceUtil::BuildFullNamespace
(
const FString & InTextNamespace,
const FString & InPackageNamespace,
const bool bAlwaysApplyPackageNamespace
)
}
Remarks
Given a text and package namespace, build the full version that should be used by the localization system. This can also be used to "zero-out" the package namespace used by a text namespace (by passing an empty package namespace) while still leaving the package namespace markers in place. The full namespace that should be used by the localization system.
Parameters
| Name | Description |
|---|---|
| InTextNamespace | The namespace currently used by the FText instance. |
| InPackageNamespace | The namespace of the package owning the FText instance. |
| bAlwaysApplyPackageNamespace | If true, this will always apply the package namespace to the text namespace. If false, this will only apply the package namespace if the text namespace already contains package namespace markers. |