Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Kismet > API/Runtime/Engine/Kismet/UKismetInternationalizationLibra-
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetInternationalizationLibrary.h |
| Include | #include "Kismet/KismetInternationalizationLibrary.h" |
| Source | /Engine/Source/Runtime/Engine/Private/KismetInternationalizationLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Utilities|Internationalization",
Meta=(AdvancedDisplay="1"))
static bool SetCurrentLocale
(
const FString & Culture,
const bool SaveToConfig
)
Remarks
Set only the current locale (for internationalization).
Unless you're doing something advanced, you likely want SetCurrentLanguageAndLocale or SetCurrentCulture instead. True if the locale was set, false otherwise.
Parameters
| Name | Description |
|---|---|
| Culture | The locale to set, as an IETF language tag (eg, "zh-Hans-CN"). |
| SaveToConfig | If true, save the new setting to the users' "GameUserSettings" config so that it persists after a reload. |