UKismetInternationalizationLibrary::GetCultureDisplayName

Get the display name of the given culture.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetInternationalizationLibrary.h

Include

#include "Kismet/KismetInternationalizationLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetInternationalizationLibrary.cpp

Syntax

static FString GetCultureDisplayName
(
    const FString & Culture,
    const bool Localized
)

Remarks

Get the display name of the given culture.

Returns

The display name of the culture, or the given culture code on failure.

Parameters

Parameter

Description

Culture

The culture to get the display name of, as an IETF language tag (eg, "zh-Hans-CN")

Localized

True to get the localized display name (the name of the culture in its own language), or False to get the display name in the current language.