FLocTextHelper::UpdateTranslation

Update an existing translation in the given archive.

Windows
MacOS
Linux

References

Module

Localization

Header

/Engine/Source/Developer/Localization/Public/LocTextHelper.h

Include

#include "LocTextHelper.h"

Source

/Engine/Source/Developer/Localization/Private/LocTextHelper.cpp

Syntax

bool UpdateTranslation
(
    const FString & InCulture,
    const FLocKey & InNamespace,
    const FLocKey & InKey,
    const TSharedPtr< FLocMetadataObject > & InKeyMetadataObj,
    const FLocItem & InSource,
    const FLocItem & InTranslation
)

Remarks

Update an existing translation in the given archive.

Returns

Returns true if it was updated successfully, false otherwise.

Parameters

Parameter

Description

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss