Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Internationalization > API/Runtime/CoreUObject/Internationalization/FPackageLocalizationCache
- FPackageLocalizationCache::FindLocalizedPackages()
- FEnginePackageLocalizationCache::FindLocalizedPackages()
References
Module | CoreUObject |
Header | /Engine/Source/Runtime/CoreUObject/Public/Internationalization/PackageLocalizationCache.h |
Include | #include "Internationalization/PackageLocalizationCache.h" |
void FindLocalizedPackages
&40;
const TMap< FString, TArray< FString >> & NewSourceToLocalizedPaths,
TMap< FName, TArray< FName >> & InOutSourcePackagesToLocalizedPackages
&41;
Remarks
Find all of the localized packages under the given roots, and update the map with the result.
Parameters
Name | Description |
---|---|
NewSourceToLocalizedPaths | Map containing a key for each of the the source root paths we're finding localized packages for, e.g. /Game The value for each key is an array of the roots to search for localized packages for that source, e.g. { /Game/L10/hu, /Game/L10/fr } |
InOutSourcePackagesToLocalizedPackages | The map to update. This will accumulate results from each root in order to build a mapping between each source package and its array of prioritized localized packages. |