Skip to main content

language

Function language 

Source
pub fn language(
    languages: &'static [&'static str],
    asked: Option<&str>,
    stored: Option<&str>,
    system: Option<&str>,
) -> &'static str
Expand description

The language to start in: the environment’s SIM_APP_LANG first, then the stored one, then the system’s, then the first of languages; one of them that the app does not have is passed over.