Navigation
API > API/Developer > API/Developer/Localization
| |
|
| Name |
EGenerateLocResFlags |
| Type |
enum |
| Header File |
/Engine/Source/Developer/Localization/Public/TextLocalizationResourceGenerator.h |
| Include Path |
#include "TextLocalizationResourceGenerator.h" |
Syntax
enum EGenerateLocResFlags
{
None = 0,
AllowStaleTranslations = 1<<0,
ValidateFormatPatterns = 1<<1,
ValidateSafeWhitespace = 1<<2,
ValidateRichTextTags = 1<<3,
}
Values
| Name |
Remarks |
| 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 |
| ValidateRichTextTags |
Validate that rich text tags have not been broken during translation |