FPackageName::GetLocalizedPackagePath

Gets the localized version of a long package path for the given culture, or returns the source package if there is no suitable localized package.

Windows
MacOS
Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h

Include

#include "Misc/PackageName.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp

Syntax

static FString GetLocalizedPackagePath
(
    const FString & InSourcePackagePath,
    const FString & InCultureName
)

Remarks

Gets the localized version of a long package path for the given culture, or returns the source package if there is no suitable localized package.

Returns

Localized package path, or the source package path if there is no suitable localized package.

Parameters

Parameter

Description

InSourcePackagePath

Path to the source package.

InCultureName

Culture name to get the localized package 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