FLocTextHelper::LoadForeignArchive

Attempt to load (or create) a foreign archive file.

Unreal Engine C++ API Reference > Developer > Localization > FLocTextHelper > LoadForeignArchive

References

   
Module Localization
Header /Engine/Source/Developer/Localization/Public/LocTextHelper.h
Include #include "LocTextHelper.h"
Source /Engine/Source/Developer/Localization/Private/LocTextHelper.cpp
bool LoadForeignArchive
(
    const [FString](API\Runtime\Core\Containers\FString) & InCulture,
    const [ELocTextHelperLoadFlags](API\Developer\Localization\ELocTextHelperLoadFlags) InLoadFlags,
    [FText](API\Runtime\Core\Internationalization\FText) * OutError
)

Remarks

Attempt to load (or create) a foreign archive file.

This requires that the given culture is 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. True if the file was loaded (or created), false otherwise.

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library