FTextLocalizationMetaDataResource

Utility class for working with Localization MetaData Resource (LocMeta) files.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/TextLocalizationResource.h

Include

#include "Internationalization/TextLocalizationResource.h"

Syntax

class FTextLocalizationMetaDataResource

Remarks

Utility class for working with Localization MetaData Resource (LocMeta) files.

Variables

Name Description

Public variable

TArray< FString...

 

CompiledCultures

Name of all cultures with compiled LocRes files for the localization target (@note may be empty for older LocMeta files).

Public variable

FString

 

NativeCulture

Name of the native culture for the localization target, eg) "en".

Public variable

FString

 

NativeLocRes

Relative path to the native LocRes file for the localization target, eg) "en/Game.locres".

Constructors

Functions

Name Description

Public function

bool

 

LoadFromArchive

(
    FArchive& Archive,
    const FString& LocMetaID
)

Load the given LocMeta archive into this resource.

Public function

bool

 

LoadFromFile

(
    const FString& FilePath
)

Load the given LocMeta file into this resource.

Public function

bool

 

SaveToArchive

(
    FArchive& Archive,
    const FString& LocMetaID
)

Save this resource to the given LocMeta archive.

Public function

bool

 

SaveToFile

(
    const FString& FilePath
)

Save this resource to the given LocMeta file.

Operators

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