UInternationalizationConditioningCommandlet

[UInternationalizationConditioningCommandlet](API\Editor\UnrealEd\Commandlets\UInternationalizationConditionin-): Commandlet that contains various misc functionality to prepare, modify, and condition Internationalization manifest and archive data.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UCommandlet

UGatherTextCommandletBase

UInternationalizationConditioningCommandlet

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Commandlets/InternationalizationConditioningCommandlet.h

Include

#include "Commandlets/InternationalizationConditioningCommandlet.h"

Syntax

class UInternationalizationConditioningCommandlet : public UGatherTextCommandletBase

Remarks

UInternationalizationConditioningCommandlet: Commandlet that contains various misc functionality to prepare, modify, and condition Internationalization manifest and archive data.

Variables

Name Description

Public variable

TArray< FLocali...

 

LocPairs

Constructors

Functions

Name Description

Public function

void

 

AddForeignFile

(
    const FString& Filename
)

Adds the specified file as the foreign version for a loc file pair

Public function

void

 

AddNativeFile

(
    const FString& Filename
)

Adds the specified file as the native version for a loc file pair

Public function

int32

 

FindForeignIndex

(
    const FString& Filename
)

Returns the index of the loc file pair that contains the native version of the specified filename, or INDEX_NONE if it isn't found

Public function

int32

 

FindNativeIndex

(
    const FString& Filename
)

Returns the index of the loc file pair that contains the native version of the specified filename, or INDEX_NONE if it isn't found

Public function

void

 

LoadLegacyLocalizationFiles

(
    const FString& SourcePath,
    const FString& NativeLanguage,
    const TArray< FString >& Languages...
)

Public function

bool

 

ProcessArchive

(
    const FString& PrimaryLangExt,
    const FString& SourcePath,
    const FString& DestinationPath
)

Public function

bool

 

ProcessManifest

(
    const FString& PrimaryLangExt,
    const FString& SourcePath,
    const FString& DestinationPath
)

Public function

void

 

ReadLocFiles

(
    const TArray< FString >& NativeFil...,
    const TArray< FString >& ForeignFi...
)

Initializes the LocPairs arrays using the list of filenames provided.

Overridden from UCommandlet

Name Description

Public function Virtual

int32

 

Main

(
    const FString& Params
)

Entry point for your commandlet

Classes

Name

Description

Public struct

FLocalizationFile

Contains information about a single localization file, any language.

Public struct

FLocalizationFileEntry

Contains all the info we need to create archive/manifest entries from.

Public struct

FLocalizationFilePair

Contains information about a localization file and its native counterpart.