Module |
|
Header |
/Engine/Source/Developer/Localization/Public/LocTextHelper.h |
Include |
#include "LocTextHelper.h" |
Source |
/Engine/Source/Developer/Localization/Private/LocTextHelper.cpp |
bool FindKeysForLegacyTranslation
(
const FString & InCulture,
const FLocKey & InNamespace,
const FString & InSource,
const TSharedPtr< FLocMetadataObject > InKeyMetadataObj,
TArray< FLocKey > & OutKeys
) const
Given a culture, try and find all the keys that the source string should use by checking the manifest.
This should only be used to upgrade old non-keyed archive entries when importing legacy data.
True if keys were found, false otherwise.
Parameter |
Description |
---|---|
InCulture |
Culture to find the key for. |
InNamespace |
Namespace of the text. |
InSource |
The source text to find the keys for. |
InKeyMetadataObj |
Meta-data associated with the source text key. |
OutKeys |
Array to fill with the found keys. |