Navigation
API > API/Developer > API/Developer/Localization > API/Developer/Localization/FLocTextHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateTranslation
(
const FString& InCulture, |
Update an existing translation in the given archive. | LocTextHelper.h | |
bool UpdateTranslation
(
const FString& InCulture, |
Update an existing translation in the given archive. | LocTextHelper.h |
UpdateTranslation(const FString &, const TSharedRef< FArchiveEntry > &, const TSharedRef< FArchiveEntry > &)
Description
Update an existing translation in the given archive.
| Name | UpdateTranslation |
| Type | function |
| Header File | /Engine/Source/Developer/Localization/Public/LocTextHelper.h |
| Include Path | #include "LocTextHelper.h" |
| Source | /Engine/Source/Developer/Localization/Private/LocTextHelper.cpp |
void UpdateTranslation
(
const FString & InCulture,
const TSharedRef < FArchiveEntry > & InOldEntry,
const TSharedRef < FArchiveEntry > & InNewEntry
)
Parameters
| Name | Remarks |
|---|---|
| InCulture | Culture to update the translation for. |
| InOldEntry | Old entry to update. |
| InNewEntry | New entry to set. |
UpdateTranslation(const FString &, const FLocKey &, const FLocKey &, const TSharedPtr< FLocMetadataObject > &, const FLocItem &, const FLocItem &)
Description
Update an existing translation in the given archive.
| Name | UpdateTranslation |
| 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 UpdateTranslation
(
const FString & InCulture,
const FLocKey & InNamespace,
const FLocKey & InKey,
const TSharedPtr < FLocMetadataObject > & InKeyMetadataObj,
const FLocItem & InSource,
const FLocItem & InTranslation
)
Returns true if it was updated successfully, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InCulture | Culture to update the translation for. |
| InNamespace | Namespace of the text. |
| InKey | Key of the text. |
| InKeyMetadataObj | Meta-data associated with the source text key. |
| InSource | Source text to key against. |
| InTranslation | Translated text to set. |