FPackageLocalizationCache::FindLocalizedPackages

Find all of the localized packages under the given roots, and update the map with the result.

Windows
MacOS
Linux

Override Hierarchy

FPackageLocalizationCache::FindLocalizedPackages()

FEnginePackageLocalizationCache::FindLocalizedPackages()

References

Module

CoreUObject

Header

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

Include

#include "Internationalization/PackageLocalizationCache.h"

Syntax

void FindLocalizedPackages
(
    const FString & InSourceRoot,
    const FString & InLocalizedRoot,
    TMap< FName, TArray< FName >> & InOutSourcePackagesToLocalizedPackages
)

Remarks

Find all of the localized packages under the given roots, and update the map with the result.

Parameters

Parameter

Description

InSourceRoot

The root package path that contains the source packages we're finding localized packages for, eg) /Game

InLocalizedRoot

The root package path to search for localized packages in, eg) /Game/L10N/fr

InOutSourcePackagesToLocalizedPackages

The map to update. This will be passed to multiple calls of FindLocalizedPackages in order to build a mapping between a source package, and an array of prioritized localized packages.

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