Module locale

Available on crate feature dep_sdl3 only.
Expand 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.

Structs§

SDL_Locale
A struct to provide locale data.

Functions§

SDL_GetPreferredLocales
Report the user’s preferred locale.