Expand description
A library to safely and easily obtain the current locale on the system or for an application.
This library currently supports the following platforms:
- Android
- iOS (and derivatives such as watchOS, tvOS, and visionOS)
- macOS
- Linux, BSD, and other UNIX variations
- WebAssembly on the web (via the
js
feature) - Windows
Functionsยง
- Returns the most preferred locale for the system or application.
- Returns the preferred locales for the system or application, in descending order of preference.