Localization.AsyncLoadLocalizationData
Localization.AsyncLoadLocalizationData
#Overview
name: Localization.AsyncLoadLocalizationData
This variable is created as a Console Variable (cvar).
- type:
Var
- help:
True to load localization data asynchronously (non-blocking), or False to load it synchronously (blocking)
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Core/Private/Internationalization/TextLocalizationManager.cpp:45
Scope (from outer to inner):
file
namespace TextLocalizationManager
Source code excerpt:
static bool AsyncLoadLocalizationData = true;
static FAutoConsoleVariableRef CVarAsyncLoadLocalizationData(TEXT("Localization.AsyncLoadLocalizationData"), AsyncLoadLocalizationData, TEXT("True to load localization data asynchronously (non-blocking), or False to load it synchronously (blocking)"));
/**
* Note: This is disabled by default because we have existing code that conflates "the language changed" with "there is new localization data available".
* These places should be audited to replace FInternationalization::OnCultureChanged callbacks with FTextLocalizationManager::OnTextRevisionChangedEvent.
*
* The most troublesome place to handle is the font and composite font caches, which flush on a language change (because the language can affect which fonts