init

Function init 

Source
pub fn init(locale: Option<&LanguageIdentifier>)
Expand description

Selects the active UI language from the [LanguageIdentifier] stored in Settings.

Call once at startup, passing settings.locale.as_ref(). Passing None keeps the English fallback active.