Skip to main content

choose

Function choose 

Source
pub fn choose(
    env: Option<&str>,
    setting: Option<&str>,
    system: Option<&str>,
) -> String
Expand description

The locale to use: env (an environment variable’s value), then setting (the user’s choice), then system, then English. A value that names no language is skipped.