Module |
|
Header |
/Engine/Source/Developer/Localization/Public/TextLocalizationResourceGenerator.h |
Include |
#include "TextLocalizationResourceGenerator.h" |
enum EGenerateLocResFlags
{
None = 0,
AllowStaleTranslations = 1<<0,
ValidateFormatPatterns = 1<<1,
ValidateSafeWhitespace = 1<<2,
}
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 |