This category contains functions for getting informations about current locale.
More...
|
typedef enum fplLocaleFormat | fplLocaleFormat |
| A enumeration of locale formats.
|
|
This category contains functions for getting informations about current locale.
◆ fplLocaleFormat
A enumeration of locale formats.
Enumerator |
---|
fplLocaleFormat_None | No locale format.
|
fplLocaleFormat_ISO639 | ISO-639 format (de-DE, en-US, etc.)
|
Definition at line 6913 of file final_platform_layer.h.
◆ fplGetInputLocale()
Gets the input locale in the given target format.
- Parameters
-
targetFormat | Target fplLocaleFormat |
buffer | Target string buffer for writing the locale into |
maxBufferLen | The maximum length of the buffer |
- Returns
- Returns the number of required/written characters, excluding the null-terminator
◆ fplGetSystemLocale()
Gets the system locale in the given target format.
- Parameters
-
targetFormat | Target fplLocaleFormat |
buffer | Target string buffer for writing the locale into |
maxBufferLen | The maximum length of the buffer |
- Returns
- Returns the number of required/written characters, excluding the null-terminator
◆ fplGetUserLocale()
Gets the user locale in the given target format.
- Parameters
-
targetFormat | Target fplLocaleFormat |
buffer | Target string buffer for writing the locale into |
maxBufferLen | The maximum length of the buffer |
- Returns
- Returns the number of required/written characters, excluding the null-terminator