pub fn locale() -> Option<String>
os-api
Returns Some(String) with a BCP-47 language tag inside. If the locale couldn’t be obtained, None is returned instead.
Some(String)
BCP-47
None