SDL_Locale

A structure that contains a preferred locale reported by the user

Data Fields

const char*

language

a language name, e.g. "en" for English

const char*

country

a country, e.g. "US" for America; can be NULL

Version

This structure is available since SDL 2.0.14.

SDL_GetPreferredLocales

CategoryAPI, CategoryAPIStruct, CategoryLocale