FUserGeneratedContentLocalizationDescriptor

Minimal descriptor needed to generate a localization target for UGC localization.

Unreal Engine C++ API Reference > Developer > Localization

References

   
Module Localization
Header /Engine/Source/Developer/Localization/Public/UserGeneratedContentLocalization.h
Include #include "UserGeneratedContentLocalization.h"

Syntax

struct FUserGeneratedContentLocalizationDescriptor  

Remarks

Minimal descriptor needed to generate a localization target for UGC localization.

Variables

Type Name Description
TArray< FString... CulturesToGenerate The cultures that we should generate localization data for.
FString NativeCulture The culture that the source text is authored in.
EPortableObject... PoFormat What format of PO file should we use?

Functions

Type Name Description
bool FromJsonFile ( const TCHAR* InFilename )  
bool FromJsonObject ( TSharedRef< const FJsonObject > InJ... ) Load the settings from a JSON object/file.
bool FromJsonString ( const FString& InJsonString )  
void InitializeFromProject ( const ELocalizedTextSourceCategory ... ) Initialize the NativeCulture and CulturesToGenerate values based on the settings of the currently loaded Unreal project.
bool ToJsonFile ( const TCHAR* InFilename )  
bool ToJsonObject ( TSharedPtr< FJsonObject >& OutJson... ) Save the settings to a JSON object/file.
bool ToJsonString ( FString& OutJsonString )  
bool Validate ( const FUserGeneratedContentLocaliza... ) Validate that this descriptor isn't using cultures that aren't present in the CulturesToGenerate of the given default.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library