FInternationalization::SetCurrentLanguage

Set _only_ the current language (for localization) by name.

Choose your operating system:

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

bool SetCurrentLanguage
(
    const FString & InCultureName
)

Remarks

Set only the current language (for localization) by name. @note Unless you're doing something advanced, you likely want SetCurrentLanguageAndLocale or SetCurrentCulture instead.