Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FGenericPlatformMisc
Description
Get the default locale (for internationalization) used by this platform.
This should be returned in IETF language tag form:
- A two-letter ISO 639-1 language code (eg, "zh").
- An optional four-letter ISO 15924 script code (eg, "Hans").
- An optional two-letter ISO 3166-1 country code (eg, "CN").
| Name | GetDefaultLocale |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMisc.h |
| Include Path | #include "GenericPlatform/GenericPlatformMisc.h" |
| Source | /Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMisc.cpp |
static FString GetDefaultLocale()