getLocale

@Since(version = "2.2")
abstract fun getLocale(localeIdentifier: String): UELocale?

Gets the locale by its localeIdentifier. This only looks for loaded locales.

Return

the locale, or null if not found