FPackageLocalizationUtil::ConvertLocalizedToSource

Converts a localized version of a package path to the source version (by removing /L10N/` from the package path, if present)

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 ConvertLocalizedToSource
(
    const FString & InLocalized,
    FString & OutSource
)

Remarks

Converts a localized version of a package path to the source version (by removing /L10N/` from the package path, if present)

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