Navigation
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
&123;
None = 0,
AllowStaleTranslations = 1<<0,
ValidateFormatPatterns = 1<<1,
ValidateSafeWhitespace = 1<<2,
&125;
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 |