FPackageLocalizationUtil::ConvertSourceToLocalized

Converts a source version of a package path to the localized version for the given culture (by adding /L10N/` to the package path)

Windows
MacOS
Linux

References

Module

CoreUObject

Header

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

Include

#include "Internationalization/PackageLocalizationUtil.h"

Source

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

Syntax

static bool ConvertSourceToLocalized
(
    const FString & InSource,
    const FString & InCulture,
    FString & OutLocalized
)

Remarks

Converts a source version of a package path to the localized version for the given culture (by adding /L10N/` to the package path)

This does not check whether the source package exists_

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