EGenerateLocResFlags

Windows
MacOS
Linux

References

Module

Localization

Header

/Engine/Source/Developer/Localization/Public/TextLocalizationResourceGenerator.h

Include

#include "TextLocalizationResourceGenerator.h"

Syntax

enum EGenerateLocResFlags
{
    None                      = 0,
    AllowStaleTranslations    = 1<<0,
    ValidateFormatPatterns    = 1<<1,
    ValidateSafeWhitespace    = 1<<2,
}

Values

Name

Description

None

No special behavior

AllowStaleTranslations

Should "stale" translations (translations that were made against different source text) still be used?

ValidateFormatPatterns

Validate that format patterns are valid for the culture being compiled (eg, detect invalid plural rules or broken syntax)

ValidateSafeWhitespace

Validate that text doesn't contain any unsafe whitespace (leading or trailing whitespace) that could get lost during the translation process

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