UEditorValidator_Localization

Validates that localized assets (within the L10N folder) conform to a corresponding source asset of the correct type.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

DataValidation

Header

/Engine/Plugins/Editor/DataValidation/Source/DataValidation/Public/EditorValidator_Localization.h

Include

#include "EditorValidator_Localization.h"

Syntax

UCLASS()
class UEditorValidator_Localization : public UEditorValidatorBase

Remarks

Validates that localized assets (within the L10N folder) conform to a corresponding source asset of the correct type. Localized assets that fail this validation will never be loaded as localized variants at runtime.

Variables

Name Description

Protected variable

TMap< FString, ...

 

CachedCulturesForLocalizedRoots

Constructors

Functions

Name Description

Protected function Virtual Const

bool

 

CanValidateAsset_Implementation

(
    UObject* InAsset
)

Protected function

const TArray...

 

FindOrCacheCulturesForLocalizedRoot

(
    const FString& InLocalizedRootPath
)

Protected function Virtual

EDataValidat...

 

ValidateLoadedAsset_Implementation

(
    UObject* InAsset,
    TArray< FText >& ValidationErrors
)