UKismetInternationalizationLibrary::GetCurrentCulture

Get the current culture as an IETF language tag:

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 GetCurrentCulture()

Remarks

Get the current culture as an IETF language tag:

  • A two-letter ISO 639-1 language code (eg, "zh").

  • An optional four-letter ISO 15924 script code (eg, "Hans").

  • An optional two-letter ISO 3166-1 country code (eg, "CN"). @note This function exists for legacy API parity with SetCurrentCulture and is equivalent to GetCurrentLanguage.