Navigation
Unreal Engine C++ API Reference > Runtime > CoreUObject > Internationalization
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Internationalization/PackageLocalizationUtil.h |
Include | #include "Internationalization/PackageLocalizationUtil.h" |
Syntax
struct FPackageLocalizationUtil
Remarks
Utility functions for dealing with localized package names
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | ConvertLocalizedToSource
(
const FString& InLocalized, |
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_ |
![]() ![]() |
bool | ConvertSourceToLocalized
(
const FString& InSource, |
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_ |
![]() ![]() |
bool | GetLocalizedRoot
(
const FString& InPath, |
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") |