Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/Internationalization/PackageLocalizationUtil.h |
Include |
#include "Internationalization/PackageLocalizationUtil.h" |
struct FPackageLocalizationUtil
Utility functions for dealing with localized package names
Name | Description | ||
---|---|---|---|
|
ConvertLocalizedToSource |
Converts a localized version of a package path to the source version (by removing /L10N/` from the package path, if present) Note: This does not check whether the source package exists_ |
|
|
ConvertSourceToLocalized |
Converts a source version of a package path to the localized version for the given culture (by adding /L10N/` to the package path) Note: This does not check whether the source package exists_ |
|
|
GetLocalizedRoot |
Given a package path, get the localized root package for the given culture (eg, if given "/Game/MyFolder/MyAsset" and a culture of "fr", this would return "/Game/L10N/fr") |