Navigation
API > API/Developer > API/Developer/Localization > API/Developer/Localization/FLocTextHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool FindKeysForLegacyTranslation
(
const FString& InCulture, |
Given a culture, try and find all the keys that the source string should use by checking the manifest. | LocTextHelper.h | |
static bool FindKeysForLegacyTranslation
(
const TSharedRef< const FInternationalizationManifest >& InManifest, |
Given a manifest and (optional) native archive, try and find all the keys that the source string should use by checking the manifest. | LocTextHelper.h |
FindKeysForLegacyTranslation(const FString &, const FLocKey &, const FString &, const TSharedPtr< FLocMetadataObject >, TArray< FLocKey > &)
Description
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.
| Name | FindKeysForLegacyTranslation |
| Type | function |
| Header File | /Engine/Source/Developer/Localization/Public/LocTextHelper.h |
| Include Path | #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
True if keys were found, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| 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. |
FindKeysForLegacyTranslation(const TSharedRef< const FInternationalizationManifest > &, const TSharedPtr< const FInternationalizationArchive > &, const FLocKey &, const FString &, const TSharedPtr< FLocMetadataObject >, TArray< FLocKey > &)
Description
Given a manifest and (optional) native archive, 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.
| Name | FindKeysForLegacyTranslation |
| Type | function |
| Header File | /Engine/Source/Developer/Localization/Public/LocTextHelper.h |
| Include Path | #include "LocTextHelper.h" |
| Source | /Engine/Source/Developer/Localization/Private/LocTextHelper.cpp |
static bool FindKeysForLegacyTranslation
(
const TSharedRef < const FInternationalizationManifest > & InManifest,
const TSharedPtr < const FInternationalizationArchive > & InNativeArchive,
const FLocKey & InNamespace,
const FString & InSource,
const TSharedPtr < FLocMetadataObject > InKeyMetadataObj,
TArray < FLocKey > & OutKeys
)
True if keys were found, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InManifest | The manifest to find the source string in. |
| InNativeArchive | The native archive to test to see if the given source text is really a native translation. |
| 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. |