FInternationalization::SetCurrentLanguage

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss