FInternationalization::SetCurrentLocale

Set _only_ the current locale (for internationalization) 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 SetCurrentLocale
(
    const FString & InCultureName
)

Remarks

Set only the current locale (for internationalization) 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