locale_from_environment

Function locale_from_environment 

Source
fn locale_from_environment() -> Locale
Expand description

Gets the user’s preferred locale from the environment and translates it to a Locale with LanguageRange fallbacks.