Skip to main content

system_language

Function system_language 

Source
pub fn system_language(env: impl Fn(&str) -> Option<String>) -> Option<String>
Expand description

The system’s language code from the locale variables (LC_ALL, LC_MESSAGES, LANG; “de_DE.UTF-8” is “de”), where there are any. Windows has none of them: the app stays English there.