EGenerateLocResFlags

Unreal Engine C++ API Reference > Developer > Localization

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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library