Function tauri_plugin_os::locale
source · pub fn locale() -> Option<String>
Expand description
Returns the current operating system locale with the BCP-47
language tag. If the locale couldn’t be obtained, None
is returned instead.
pub fn locale() -> Option<String>
Returns the current operating system locale with the BCP-47
language tag. If the locale couldn’t be obtained, None
is returned instead.