FTextLocalizationResourceGenerator::GenerateLocRes

Given a loc text helper, generate a compiled LocRes resource for the given culture.

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

References

   
Module Localization
Header /Engine/Source/Developer/Localization/Public/TextLocalizationResourceGenerator.h
Include #include "TextLocalizationResourceGenerator.h"
Source /Engine/Source/Developer/Localization/Private/TextLocalizationResourceGenerator.cpp
static bool GenerateLocRes
(
    const [FLocTextHelper](API\Developer\Localization\FLocTextHelper) & InLocTextHelper,
    const [FString](API\Runtime\Core\Containers\FString) & InCultureToGenerate,
    const [EGenerateLocResFlags](API\Developer\Localization\EGenerateLocResFlags) InGenerateFlags,
    const [FTextKey](API\Runtime\Core\Internationalization\FTextKey) & InLocResID,
    [FTextLocalizationResource](API\Runtime\Core\Internationalization\FTextLocalizationResource) & OutPlatformAgnosticLocRes,
    [TMap](API\Runtime\Core\Containers\TMap)< [FName](API\Runtime\Core\UObject\FName), [TSharedRef](API\Runtime\Core\Templates\TSharedRef)< [FTextLocalizationResource](API\Runtime\Core\Internationalization\FTextLocalizationResource) >> & OutPerPlatformLocRes,
    const int32 InPriority
)

Remarks

Given a loc text helper, generate a compiled LocRes resource for the given culture.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library