UKismetSystemLibrary::GetDefaultLanguage

Get the default language (for localization) used by this platform

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Kismet/KismetSystemLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetSystemLibrary.cpp

Syntax

static FString GetDefaultLanguage()

Remarks

Get the default language (for localization) used by this platform

This is typically the same as GetDefaultLocale unless the platform distinguishes between the two

This should be returned in IETF language tag form:

  • 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")

Returns

The language as an IETF language tag (eg, "zh-Hans-CN")

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback