# current_ui_locale

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/utilities/function-current_ui_locale/

**function** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
fn current_ui_locale() -> icu_locale_core::Locale
```

The user interface locale of the current thread (.NET's `CultureInfo.CurrentUICulture`):
the language of the strings of the user interface. The unknown locale `und` until it is
set.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/current_locale.rs#L57)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
