Navigation
API > API/Developer > API/Developer/Localization > API/Developer/Localization/FLocTextHelper
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool LoadForeignArchive
(
const FString& InCulture, |
Attempt to load (or create) a foreign archive file. | LocTextHelper.h | |
bool LoadForeignArchive
(
const FString& InCulture, |
Attempt to load (or create) a foreign archive file from the given file path. | LocTextHelper.h |
LoadForeignArchive(const FString &, const ELocTextHelperLoadFlags, FText *)
Description
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.
| Name | LoadForeignArchive |
| 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 LoadForeignArchive
(
const FString & InCulture,
const ELocTextHelperLoadFlags InLoadFlags,
FText * OutError
)
True if the file was loaded (or created), false otherwise.
Parameters
| Name | Remarks |
|---|---|
| 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. |
LoadForeignArchive(const FString &, const FString &, const ELocTextHelperLoadFlags, FText *)
Description
Attempt to load (or create) a foreign archive file from the given file path.
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.
| Name | LoadForeignArchive |
| 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 LoadForeignArchive
(
const FString & InCulture,
const FString & InArchiveFilePath,
const ELocTextHelperLoadFlags InLoadFlags,
FText * OutError
)
True if the file was loaded (or created), false otherwise.
Parameters
| Name | Remarks |
|---|---|
| InCulture | Culture code of the archive to load. |
| InArchiveFilePath | Full file path to load the archive from. |
| InLoadFlags | Flags controlling whether we should load or create the archive file. |
| OutError | Optional text to be filled when an error occurs. |