| Safe Haskell | None |
|---|---|
| Language | GHC2021 |
SDL3.Sys.Bindgen.Locale
Description
SDL locale services.
This provides a way to get a list of preferred locales (language plus country) for the user. There is exactly one function: SDL_GetPreferredLocales(), which handles all the heavy lifting, and offers documentation on all the strange ways humans might have configured their language settings. A struct to provide locale data.
Locale data is split into a spoken language, like English, and an optional country, like Canada. The language will be in ISO-639 format (so English would be "en"), and the country, if not NULL, will be an ISO-3166 country code (so Canada would be "CA").
- See also
sDL_GetPreferredLocales
Since: 3.2.0
Synopsis
- data SDL_Locale = SDL_Locale {}
Documentation
data SDL_Locale Source #
- C declaration
struct SDL_Locale, defined atSDL3/SDL_locale.h 60:16
Constructors
| SDL_Locale | |