UKismetInternationalizationLibrary

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

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

Include

#include "Kismet/KismetInternationalizationLibrary.h"

Syntax

class UKismetInternationalizationLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static

void

 

ClearCurrentAssetGroupCulture

(
    const FName AssetGroup,
    const bool SaveToConfig
)

Clear the given asset group category culture.

Public function Static

FString

 

GetCultureDisplayName

(
    const FString& Culture,
    const bool Localized
)

Get the display name of the given culture.

Public function Static

FString

 

GetCurrentAssetGroupCulture

(
    const FName AssetGroup
)

Get the given asset group category culture.

Public function Static

FString

 

GetCurrentCulture()

Get the current culture as an IETF language tag:

Public function Static

FString

 

GetCurrentLanguage()

Get the current language (for localization) as an IETF language tag:

Public function Static

FString

 

GetCurrentLocale()

Get the current locale (for internationalization) as an IETF language tag:

Public function Static

TArray< FStr...

 

GetLocalizedCultures

(
    const ELocalizationLoadFlags LoadFl...
)

Get the list of cultures that have localization data available for them.

Public function Static

TArray< FStr...

 

GetLocalizedCultures

(
    const bool IncludeGame,
    const bool IncludeEngine,
    const bool IncludeEditor,
    const bool IncludeAdditional
)

Get the list of cultures that have localization data available for them.

Public function Static

FString

 

GetNativeCulture

(
    const ELocalizedTextSourceCategory ...
)

Get the native culture for the given localization category.

Public function Static

FString

 

GetSuitableCulture

(
    const TArray< FString >& Available...,
    const FString& CultureToMatch,
    const FString& FallbackCulture
)

Given a list of available cultures, try and find the most suitable culture from the list based on culture prioritization.

Public function Static

bool

 

SetCurrentAssetGroupCulture

(
    const FName AssetGroup,
    const FString& Culture,
    const bool SaveToConfig
)

Set the given asset group category culture from an IETF language tag (eg, "zh-Hans-CN").

Public function Static

bool

 

SetCurrentCulture

(
    const FString& Culture,
    const bool SaveToConfig
)

Set the current culture.

Public function Static

bool

 

SetCurrentLanguage

(
    const FString& Culture,
    const bool SaveToConfig
)

Set only the current language (for localization).

Public function Static

bool

 

SetCurrentLanguageAndLocale

(
    const FString& Culture,
    const bool SaveToConfig
)

Set the current language (for localization) and locale (for internationalization).

Public function Static

bool

 

SetCurrentLocale

(
    const FString& Culture,
    const bool SaveToConfig
)

Set only the current locale (for internationalization).