FLocTextHelper::LoadArchive

Attempt to load (or create) an archive file (native or foreign).

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 LoadArchive
(
    const FString & InCulture,
    const ELocTextHelperLoadFlags InLoadFlags,
    FText * OutError
)

Remarks

Attempt to load (or create) an archive file (native or foreign).

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

The manifest and native archive (if set) must have been loaded prior to loading foreign archives.

Returns

True if the file was loaded (or created), false otherwise.

Parameters

Parameter

Description

InCulture

Culture code of the archive to load.

InLoadFlags

Flags controlling whether we should load or create the archive file.

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