Internationalization

Internationalization

Windows
MacOS
Linux
On this page

Actions

Clear Current Asset Group Culture

Clear the given asset group category culture.

Target is Kismet Internationalization Library

Get Culture Display Name

Get the display name of the given culture.

Target is Kismet Internationalization Library

Get Current Asset Group Culture

Get the given asset group category culture. Note: Returns the current language if the group category doesn't have a culture override.

Target is Kismet Internationalization Library

Get Current Culture

Get the current culture 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"). Note: This function exists for legacy API parity with SetCurrentCulture and is equivalent to GetCurrentLanguage.

Target is Kismet Internationalization Library

Get Current Language

Get the current language (for localization) 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

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 Localized Cultures

Get the list of cultures that have localization data available for them.

Target is Kismet Internationalization Library

Get Native Culture

Get the native culture for the given localization category.

Target is Kismet Internationalization Library

Get Suitable Culture

Given a list of available cultures, try and find the most suitable culture from the list based on culture prioritization. eg) If your list was [en, fr, de] and the given culture was "en-US", this function would return "en". eg) If your list was [zh, ar, pl] and the given culture was "en-US", this function would return the fallback culture.

Target is Kismet Internationalization Library

Set Current Asset Group Culture

Set the given asset group category culture from an IETF language tag (eg, "zh-Hans-CN").

Target is Kismet Internationalization Library

Set Current Culture

Set the current culture. Note: This function is a sledgehammer, and will set both the language and locale, as well as clear out any asset group cultures that may be set.

Target is Kismet Internationalization Library

Set Current Language

Set only the current language (for localization). Note: Unless you're doing something advanced, you likely want SetCurrentLanguageAndLocale or SetCurrentCulture instead.

Target is Kismet Internationalization Library

Set Current Language and Locale

Set the current language (for localization) and locale (for internationalization).

Target is Kismet Internationalization Library

Set Current Locale

Set only the current locale (for internationalization). Note: Unless you're doing something advanced, you likely want SetCurrentLanguageAndLocale or SetCurrentCulture instead.

Target is Kismet Internationalization Library

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