Contents

resolvedLanguage

The language that best matches current preferences and for which a localized asset pack is available locally.

Declaration

var resolvedLanguage: Locale.Language? { get }

Mentioned in

Discussion

The preferred languages set in Settings or System Settings inform the choice of resolved language, respecting any language that your app sets manually by setting resolvedLanguage. This property may be nil if no localized asset packs are available. If a person using the device recently changed their preferred language or if this manifest is outdated, then this property’s value may be out of sync with the set of asset packs that are available locally.

See Also

Inspecting asset pack localization