FLocalizationGatherPathRootUtil

Windows
MacOS
Linux

References

Module

Localization

Header

/Engine/Source/Developer/Localization/Public/LocalizationTargetTypes.h

Include

#include "LocalizationTargetTypes.h"

Syntax

struct FLocalizationGatherPathRootUtil

Functions

Name Description

Public function Static

FString

 

GetResolvedPathRoot

(
    const ELocalizationGatherPathRoot I...,
    const bool bIsEngineTarget
)

Get the path name of the resolved path root (either FPaths::EngineDir() or FPaths::ProjectDir() depending on the setting and target type

Public function Static

FText

 

GetResolvedPathRootDisplayName

(
    const ELocalizationGatherPathRoot I...,
    const bool bIsEngineTarget
)

Get the display name of the resolved path root (either "Engine/" or "{ProjectName/" depending on the setting and target type

Public function Static

FString

 

GetResolvedPathRootToken

(
    const ELocalizationGatherPathRoot I...
)

Get the resolved placeholder token of the path root ("%LOCENGINEROOT%" for Engine or "%LOCPROJECTROOT%" for Project; empty for Auto)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss