UKismetInternationalizationLibrary::GetCurrentLocale
#include "Kismet/KismetInternationalizationLibrary.h"
Access: public
Specifiers: staticUFUNCTIONBlueprintPure
Description
Returns the locale currently used for internationalization (date/number/currency formatting) as an IETF language tag.
Caveats & Gotchas
- • This can differ from GetCurrentLanguage if SetCurrentLanguage and SetCurrentLocale were previously set independently to different cultures.
Signature
static ENGINE_API FString GetCurrentLocale(); Return Type
FString Example
Check the active locale C++
const FString Locale = UKismetInternationalizationLibrary::GetCurrentLocale(); See Also
Tags
Version History
Introduced in: unknown
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?