Navigation
API > API/Developer > API/Developer/Localization > API/Developer/Localization/FLocTextHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddTranslation
(
const FString& InCulture, |
Add a new translation to the given archive. | LocTextHelper.h | |
bool AddTranslation
(
const FString& InCulture, |
Add a new translation to the given archive. | LocTextHelper.h |
AddTranslation(const FString &, const TSharedRef< FArchiveEntry > &)
Description
Add a new translation to the given archive.
| Name | AddTranslation |
| 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 AddTranslation
(
const FString & InCulture,
const TSharedRef < FArchiveEntry > & InEntry
)
Returns true if it was added successfully, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InCulture | Culture to add the translation for. |
| InEntry | Archive entry to add. |
AddTranslation(const FString &, const FLocKey &, const FLocKey &, const TSharedPtr< FLocMetadataObject > &, const FLocItem &, const FLocItem &, const bool)
Description
Add a new translation to the given archive.
| Name | AddTranslation |
| 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 AddTranslation
(
const FString & InCulture,
const FLocKey & InNamespace,
const FLocKey & InKey,
const TSharedPtr < FLocMetadataObject > & InKeyMetadataObj,
const FLocItem & InSource,
const FLocItem & InTranslation,
const bool InOptional
)
Returns true if it was added successfully, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InCulture | Culture to add 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. |
| InOptional | Is this translation optional? |