FLocTextHelper::SaveForeignArchive

Attempt to save a foreign archive file to the given file path.

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 SaveForeignArchive
(
    const FString & InCulture,
    const FString & InArchiveFilePath,
    FText * OutError
) const

Remarks

Attempt to save a foreign archive file to the given file path.

This requires that the given culture is in the list of foreign cultures set during construction.

Returns

True if the file was saved, false otherwise.

Parameters

Parameter

Description

InCulture

Culture code of the archive to load.

InArchiveFilePath

Full file path to write the archive as.

OutError

Optional text to be filled when an error occurs.

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