Get Current Locale

Get Current Locale

Windows
MacOS
Linux

Get the current locale (for internationalization) as an IETF language tag:

  • 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").

Target is Kismet Internationalization Library

Get Current Locale
Return Value

Inputs

Outputs

Return Value
String

The locale as an IETF language tag (eg, "zh-Hans-CN").

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