UBlueprintPathsLibrary::GetGameLocalizationPaths
#include "Kismet/BlueprintPathsLibrary.h"
Access: public
Specifiers: staticBlueprintPure
Description
Returns the list of paths searched for game-specific localization files, covering the text your project ships to players.
Caveats & Gotchas
- • This is the path set that actually matters for shipping games — engine and editor localization paths are separate and not shipped.
- • Returns a reference to an internal array; don't cache it across a culture change since the contents can be reloaded.
Signature
static const TArray<FString>& GetGameLocalizationPaths() Return Type
const TArray<FString>& Example
List game localization search paths C++
for (const FString& Path : UBlueprintPathsLibrary::GetGameLocalizationPaths())
{
UE_LOG(LogTemp, Log, TEXT("Game loc path: %s"), *Path);
} Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?