Navigation
API > API/Developer > API/Developer/Localization > API/Developer/Localization/FUserGeneratedContentLocalizatio-
Description
Validate that this descriptor isn't using cultures that aren't present in the CulturesToGenerate of the given default.
- If the NativeCulture is invalid, reset it to the value from the default.
- If CulturesToGenerate contains invalid entries then remove those from the array.
| Name | Validate |
| Type | function |
| Header File | /Engine/Source/Developer/Localization/Public/UserGeneratedContentLocalization.h |
| Include Path | #include "UserGeneratedContentLocalization.h" |
| Source | /Engine/Source/Developer/Localization/Private/UserGeneratedContentLocalization.cpp |
bool Validate
(
const FUserGeneratedContentLocalizationDescriptor & DefaultDescriptor
)
True if this descriptor was valid and no changes were made. False if this descriptor was invalid and had default changes applied.