FUserGeneratedContentLocalizationDescriptor::Validate

Validate that this descriptor isn't using cultures that aren't present in the CulturesToGenerate of the given default.

Unreal Engine C++ API Reference > Developer > Localization > FUserGeneratedContentLocalizationDescriptor

References

   
Module Localization
Header /Engine/Source/Developer/Localization/Public/UserGeneratedContentLocalization.h
Include #include "UserGeneratedContentLocalization.h"
Source /Engine/Source/Developer/Localization/Private/UserGeneratedContentLocalization.cpp
bool Validate
(
    const [FUserGeneratedContentLocalizationDescriptor](API\Developer\Localization\FUserGeneratedContentLocalizatio-) & DefaultDescriptor
)

Remarks

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. True if this descriptor was valid and no changes were made. False if this descriptor was invalid and had default changes applied.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library