FInternationalization::GetCulturesWithAvailableLocalization

Given some paths to look at, populate a list of cultures that we have available localization information for.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Internationalization/Internationalization.h

Include

#include "Internationalization/Internationalization.h"

Source

/Engine/Source/Runtime/Core/Private/Internationalization/Internationalization.cpp

Syntax

void GetCulturesWithAvailableLocalization
(
    const TArray< FString > & InLocalizationPaths,
    TArray< FCultureRef > & OutAvailableCultures,
    const bool bIncludeDerivedCultures
)

Remarks

Given some paths to look at, populate a list of cultures that we have available localization information for. If bIncludeDerivedCultures, include cultures that are derived from those we have localization data for. @note This function was deprecated as it only provides cultures that use localization resources. FTextLocalizationManager::GetLocalizedCultureNames provides a more complete list when using alternate sources, and FInternationalization::GetAvailableCultures can be used to build a culture array from that list.

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